| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add get_state_string() | Manuel Schölling | 2015-08-17 | 2 | -0/+35 |
| | | |||||
| * | Grab errno for directstream want errors | Steven Fackler | 2015-08-10 | 1 | -7/+2 |
| | | |||||
| * | Handle WantWrite and WantRead errors | Steven Fackler | 2015-08-08 | 1 | -0/+8 |
| | | |||||
| * | Merge pull request #243 from manuels/master | Steven Fackler | 2015-08-02 | 2 | -2/+41 |
| |\ | | | | | Fix probelms with DTLS when no packets are pending. | ||||
| | * | Fix probelms with DTLS when no packets are pending. | Manuel Schölling | 2015-07-18 | 2 | -2/+41 |
| | | | | | | | | | | | | | | | | | | | | | | | When using DTLS you might run into the situation where no packets are pending, so SSL_read returns len=0. On a TLS connection this means that the connection was closed, but on DTLS it does not (a DTLS connection cannot be closed in the usual sense). This commit fixes a bug introduced by c8d23f3. Conflicts: openssl/src/ssl/mod.rs | ||||
| * | | Expose ssl::init | panicbit | 2015-07-26 | 1 | -1/+3 |
| |/ | |||||
| * | Decouple C SSL Option bit flags from Rust version | Jethro Beekman | 2015-07-01 | 1 | -29/+46 |
| | | | | | | | | The OpenSSL "SSL_OP_*" flags are in constant flux between different OpenSSL versions. To avoid having to change the Rust definitions, we implement our own numbering system in Rust, and use an automatically-generated C shim to convert the bitflags at runtime. | ||||
| * | Fix backcompat method | Steven Fackler | 2015-06-29 | 1 | -1/+1 |
| | | |||||
| * | Fix build with alpn feature | Steven Fackler | 2015-06-29 | 2 | -3/+3 |
| | | |||||
| * | ssl: support ALPN | Cody P Schafer | 2015-06-29 | 2 | -15/+213 |
| | | | | | | | | | | | Heavily based on the existing NPN wrapping code. Naming of public functions is identical to the NPN ones with `s/npn/alpn/` applied to prevent devs from needing to remember 2 names (and to let my copy the npn tests and perform the subistution to generate the apln tests). It might make sense to (at some point) use macros or a trait to cut down the duplication. | ||||
| * | ssl/NPN: factor out encoding of the protocol list | Cody P Schafer | 2015-06-29 | 1 | -8/+19 |
| | | | | | | The intention is to allow the encoding to be reused by the ALPN support code. | ||||
| * | ssl: use a common helper to generate new ex data indexes, switch NPN to a ↵ | Cody P Schafer | 2015-06-29 | 1 | -33/+17 |
| | | | | | | | | | | | | lazyref Rather than having the verification data idx generation and NPN use there own (similar) impls to generate indexes with destructors, unify them. Make NPNs use of indexes more idomatic by storing the index in a lazyref rather than having a function with static data members. | ||||
| * | More docs | Steven Fackler | 2015-06-28 | 1 | -0/+16 |
| | | |||||
| * | Fix windows build | Steven Fackler | 2015-06-28 | 1 | -0/+2 |
| | | |||||
| * | Docs | Steven Fackler | 2015-06-28 | 1 | -18/+10 |
| | | |||||
| * | Make the direct constructors the defaults | Steven Fackler | 2015-06-28 | 2 | -35/+35 |
| | | |||||
| * | Add docs for accept and connect | Steven Fackler | 2015-06-28 | 1 | -0/+22 |
| | | |||||
| * | Rename new_client to connect and new_server to accept | Steven Fackler | 2015-06-28 | 2 | -44/+49 |
| | | |||||
| * | Implement direct IO support | Steven Fackler | 2015-06-28 | 2 | -13/+187 |
| | | |||||
| * | Prepare for direct stream support | Steven Fackler | 2015-06-27 | 1 | -78/+165 |
| | | |||||
| * | Docs tweak | Steven Fackler | 2015-06-27 | 1 | -1/+2 |
| | | |||||
| * | Reduce SslStream constructor duplication | Steven Fackler | 2015-06-27 | 2 | -41/+62 |
| | | |||||
| * | Initialize stream buffer | Steven Fackler | 2015-06-27 | 1 | -8/+2 |
| | | |||||
| * | Fix set_hostname | Steven Fackler | 2015-06-27 | 1 | -10/+2 |
| | | | | | | | It was previously failing to null terminate the hostname string (was anyone actually using this?). Also move the macro expansion to the C shim. | ||||
| * | Add a test for connection negotiation failure | Steven Fackler | 2015-06-25 | 1 | -1/+10 |
| | | |||||
| * | Fix EOF handling in retry wrapper | Steven Fackler | 2015-06-25 | 2 | -5/+7 |
| | | |||||
| * | Test reading CN from test certificate | Joseph Glanville | 2015-05-18 | 1 | -2/+2 |
| | | |||||
| * | Add test for get_peer_certificate() | Joseph Glanville | 2015-05-16 | 1 | -0/+10 |
| | | |||||
| * | Add accessor for peer_certificate | Joseph Glanville | 2015-05-16 | 1 | -0/+5 |
| | | |||||
| * | Merge pull request #210 from manuels/pending | Steven Fackler | 2015-05-05 | 2 | -0/+36 |
| |\ | | | | | Add SslStream.pending() | ||||
| | * | Add SslStream.pending() | Manuel Schölling | 2015-04-30 | 2 | -0/+36 |
| | | | |||||
| * | | Abstract over AsRef<Path> | Steven Fackler | 2015-05-02 | 1 | -7/+7 |
| |/ | |||||
| * | Write through to underlying stream for every write call | Steven Fackler | 2015-04-30 | 2 | -10/+35 |
| | | | | | cc #208 | ||||
| * | Fix nightly build issues | Steven Fackler | 2015-04-15 | 2 | -8/+1 |
| | | |||||
| * | Fix non-dtls tests | Steven Fackler | 2015-04-08 | 1 | -4/+3 |
| | | |||||
| * | Fix dtls tests | Steven Fackler | 2015-04-08 | 1 | -8/+8 |
| | | | | | There's a reason static mut is unsafe... | ||||
| * | Adapt code for rust-1.0.0-beta | Manuel Schölling | 2015-04-06 | 1 | -9/+6 |
| | | |||||
| * | Fix rebase errors | Manuel Schölling | 2015-04-06 | 2 | -9/+2 |
| | | |||||
| * | Add ability to load private keys from files and use raw keys and ↵ | Manuel Schölling | 2015-04-06 | 1 | -1/+1 |
| | | | | | | | | | certificates for SslContext Conflicts: openssl/src/crypto/pkey.rs openssl/src/ssl/tests.rs | ||||
| * | Add ability to load private keys from files and use raw keys and ↵ | Manuel Schölling | 2015-04-06 | 1 | -2/+5 |
| | | | | | | | | certificates for SslContext Conflicts: openssl/src/ssl/tests.rs | ||||
| * | Change SslContext::set_read_ahead(c_long) to SslContext::set_read_ahead(u32) | Manuel Schölling | 2015-04-06 | 1 | -2/+2 |
| | | |||||
| * | Debug halteproblem with tests | Manuel Schölling | 2015-04-06 | 1 | -2/+2 |
| | | |||||
| * | Move connected_socket to its own crate and fix SSL_CTX_set_read_ahead() | Manuel Schölling | 2015-04-06 | 3 | -355/+9 |
| | | |||||
| * | Use latest OpenSSL version in travis tests and more verbose error message in ↵ | Manuel Schölling | 2015-04-06 | 1 | -2/+5 |
| | | | | | ConnectedSocket | ||||
| * | Fix detect_invalid_ipv4 test on OSX | Manuel Schölling | 2015-04-06 | 1 | -1/+1 |
| | | | | | Looks like the invalid IP 254.254.254.254 is fine for OSX | ||||
| * | Fix OSX related compiler error and correct travis OpenSSL setup | Manuel Schölling | 2015-04-06 | 1 | -3/+3 |
| | | |||||
| * | Adjust sin_len/sin6_len for non-linux platforms | Manuel Schölling | 2015-04-06 | 2 | -2/+3 |
| | | | | | | | Fixing errors for platforms you don't own is really annoying ;) Fixing errors | ||||
| * | Fix portability issue and typo | Manuel Schölling | 2015-04-06 | 3 | -23/+68 |
| | | |||||
| * | Fix travis test setup for DTLS | Manuel Schölling | 2015-04-06 | 1 | -8/+23 |
| | | |||||
| * | Add DTLSv1 and DTLSv1.2 support | Manuel Schölling | 2015-04-06 | 3 | -94/+187 |
| | | |||||