Commit Graph

271 Commits

Author SHA1 Message Date
quininer
1323596dd2 update futures 0.2.0 2018-04-07 20:20:05 +08:00
quininer
fff2f4a73b fix(tokio_impl): shutdown WouldBlock 2018-03-31 15:16:31 +08:00
quininer
40837e4805 fix client example 2018-03-24 11:28:45 +08:00
quininer
d0f13ce5f9 change: update tokio 2018-03-24 11:20:48 +08:00
quininer
8f2306854e change: update client example 2018-03-24 01:22:45 +08:00
quininer
062c10e31e fix futures_impl flush/close and README 2018-03-24 00:46:21 +08:00
quininer
fddb77759f feat: handle CloseNotify alert 2018-03-23 19:03:30 +08:00
quininer
034357336e remove deadcode 2018-03-23 17:59:24 +08:00
quininer
1892fdb609 remove tokio-proto support 2018-03-23 17:47:44 +08:00
quininer
d52aecaddd fix: example conflict 2018-03-23 17:47:20 +08:00
quininer
1820868929 fix: futures_impl 2018-03-23 17:31:55 +08:00
quininer
64ca6e290c change: use rustls Stream 2018-03-23 17:14:27 +08:00
quininer
d4cb46e895 feat: start futures_impl 2018-03-22 19:47:27 +08:00
quininer
72de25ebce change: impl io::{Read,Write} 2018-03-21 21:44:36 +08:00
quininer
8c79329c7a feat: split tokio_impl/futures_impl 2018-03-21 13:08:47 +08:00
quininer
9f78454cf1 feat: try futures 0.2 2018-03-20 20:17:44 +08:00
quininer
daac8f585f fix outdated README 2018-03-07 12:24:16 +08:00
quininer
8d6140a7b9 upgrade example/test to tokio 2018-02-28 14:36:37 +08:00
quininer
8aa3f3a14b bump to 0.5.0 2018-01-08 20:45:49 +08:00
quininer
3adf8a23ee
Merge pull request #16 from briansmith/git-deps-1
Update to in-progress Rustls, webpki, and webpki-roots.
2018-01-08 20:35:13 +08:00
Brian Smith
51ed8da9cb Update to in-progress Rustls, webpki, and webpki-roots.
Use the new, less error-prone, API in Rustls.
2017-09-03 13:00:42 -10:00
quininer
6a8c6431a3 Merge pull request #15 from briansmith/remove-danger
Remove `danger` feature & the API it controls.
2017-08-30 00:56:09 -05:00
quininer
42f877f994 Merge pull request #14 from briansmith/bump-deps
0.4.0: Use rustls 0.11, webpki-roots 0.13, and update other deps.
2017-08-30 00:55:56 -05:00
Brian Smith
4b2b016024 Update examples for webpki-roots API changes. 2017-08-28 18:46:48 -10:00
Brian Smith
3b0c96712a 0.4.0: Use rustls 0.11, webpki-roots 0.13, and update other deps. 2017-08-28 18:46:47 -10:00
Brian Smith
eccf90a534 Remove danger feature & the API it controls.
The singular purpose of this crate should be to integrate Tokio and
Rustls. Therefore, any feature that isn't about making Rustls work
nicely with Tokio should be assumed a priori to be out of scope.

In particular, it is out of scope for tokio-rustls to provide APIs to
control SNI behavior. Instead, the application should configure
Rustls's SNI behavior using Rustls's configuration APIs, and pass the
configuration to tokio-rustls. Similarly, it is out of scope for
tokio-rustls to provide APIs to control the certificate validation
behavior. Instead, the application should configure certificate
validation using Rustls's APIs. Perhaps there should be a crate that
makes it convenient to do "dangerous" certificate validation, but IMO
that shouldn't be tokio-rustls, but a different one.

FWIW, the `danger` API was inherited from tokio-tls, and I'm working on
making an analogous change there.
2017-08-28 18:43:33 -10:00
quininer
aefc023dd4 [Fixed] call only once send_close_notify 2017-08-15 22:09:45 +08:00
quininer
037f84ea98 [Added] tests 2017-08-13 18:48:30 +08:00
quininer
4b98a7b07a [Changed] update rustls 2017-08-13 13:05:47 +08:00
quininer kel
36fabdadfd [Added] danger feature 2017-07-21 17:57:57 +08:00
quininer kel
c3961081ec [Changed] bump version 2017-07-19 09:28:45 +08:00
quininer
f139ca90fc Merge pull request #13 from univerio/master
Fix TlsStream closing the connection abruptly on fatal errors
2017-07-19 09:21:46 +08:00
Jack Zhou
42e1d72fb2 Fixed TlsStream closing the connection abruptly on fatal errors. (#12)
Instead, flush queued TLS messages when an error occurs before closing the connection.
2017-07-18 14:23:56 -07:00
quininer kel
d606a10000 [Changed] bump rustls to 0.9 2017-06-17 17:22:07 +08:00
quininer kel
076c266fa1 [Changed] bump version 2017-05-26 18:22:03 +08:00
quininer kel
1cd3e37158 Merge pull request #10 from furakus/master
Allowing to use custom sessions to build async connector/acceptor
2017-05-26 18:09:46 +08:00
PZ Read
d6d06041d9 Fix empty buffer 2017-05-26 17:59:51 +08:00
PZ Read
185f010937 Add async builders for custom session. 2017-05-26 16:38:02 +08:00
PZ Read
72c9c1d59e Fix plaintext write logic for limited rustls buffer. 2017-05-26 15:54:47 +08:00
quininer kel
d224148327 [Changed] bump version 2017-05-18 02:00:07 +08:00
quininer kel
d5133751d2 Merge pull request #8 from bluejekyll/master
upgrade rustls to 0.8
2017-05-18 01:58:33 +08:00
Benjamin Fry
0b0ab95419 upgrade rustls to 0.8 2017-05-17 10:27:56 -07:00
quininer kel
5a7e49a073 [Changed] update dev dependencies 2017-05-09 12:28:32 +08:00
quininer kel
d12397d532 Merge pull request #6 from briansmith/update-rustls
0.2.0: Update Rustls and webpki-roots versions.
2017-05-09 12:19:36 +08:00
Brian Smith
ade576a403 0.2.0: Update Rustls and webpki-roots versions. 2017-05-08 17:32:21 -10:00
quininer kel
3d5a36590d [Fixed] shutdown should only flush io 2017-04-14 13:01:46 +08:00
quininer kel
4843c68019 Merge pull request #3 from briansmith/fix-win
Merge std-client.rs into client.rs to unbreak Windows build.
2017-03-31 08:19:14 +08:00
quininer kel
4bf7cb89a6 Merge pull request #4 from briansmith/more-docs
Expand metadata in Cargo.toml.
2017-03-31 08:18:36 +08:00
Brian Smith
22fbb7497f Merge std-client.rs into client.rs to unbreak Windows build.
The Windows build is failing because client.rs doesn't define main
on non-Unixy platforms because of its `#![cfg(unix)]`. Merge
std-client.rs into client.rs to solve this and to reduce redundancy.
Continue using blocking stdin/stdout I/O on non-Unixy platforms until
we get nonblocking stdin/stdout working on those platforms.
2017-03-30 10:46:34 -10:00
Brian Smith
4f59ebf87d Update version in preparation for publishing a new version. 2017-03-30 10:37:30 -10:00