Commit Graph

30 Commits

Author SHA1 Message Date
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
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
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 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
d224148327 [Changed] bump version 2017-05-18 02:00:07 +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
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
Brian Smith
4f59ebf87d Update version in preparation for publishing a new version. 2017-03-30 10:37:30 -10:00
Brian Smith
67c7d8909b Add readme to Cargo.toml. 2017-03-30 10:37:30 -10:00
Brian Smith
5b566cadc3 Add the crate to the “cryptography” category on crates.io. 2017-03-30 10:37:15 -10:00
quininer kel
0913af1af9 [Fixed] should flush when shutdown 2017-03-30 15:39:11 +08:00
quininer kel
e597250fb8 [Added] example std-client 2017-03-30 15:01:00 +08:00
quininer kel
2a5640459b [Removed] dont need tokio-core 2017-03-16 10:41:41 +08:00
quininer kel
9046dcb75e [Changed] bump to 0.1.4 2017-03-16 10:18:19 +08:00
quininer kel
c7041e2111 [Changed] update tokio-io 2017-03-16 10:15:06 +08:00
quininer kel
0db05aa9bf [Changed] proto {Server,Client}::new use Arc 2017-03-03 09:49:58 +08:00
quininer kel
9394405512 [Improved] TlsStream impl poll_{read, write} 2017-02-27 21:02:35 +08:00
quininer kel
ffdf1ebcb8 [Fixed] empty handshake loop 2017-02-27 21:02:35 +08:00
quininer kel
15e40f3ebf [Added] README and more 2017-02-27 21:02:35 +08:00
quininer kel
0941db6792 [Fixed] TlsStream::write then write_tls
- [Added] add example
2017-02-27 21:02:25 +08:00
quininer kel
6e7d67cccb [Fixed] TlsStream::read ConnectionAborted 2017-02-21 19:08:23 +08:00
quininer kel
66835b5040 [Added] init 2017-02-21 11:59:05 +08:00