Commit Graph

32 Commits

Author SHA1 Message Date
Gleb Pomykalov
61b2f5b3bc Migrate to tokio 0.2 and futures 0.3 2019-11-27 17:32:44 +08:00
quininer
4b0dd05e86 Move ci to github actions 2019-11-02 02:56:16 +08:00
quininer
10c139df08 test: split bad channel 2019-10-11 23:01:13 +08:00
quininer
9a161beb87 use write_io instead of handshake 2019-10-11 23:01:13 +08:00
quininer
d8235071cd move sleep 2019-10-11 23:01:13 +08:00
quininer
369c13d6a5 add 0-RTT test 2019-10-11 23:01:13 +08:00
quininer
821d1c129f move badssl test 2019-10-11 23:01:13 +08:00
quininer
66f17e3b18 Revert "Revert "refactor: separate read and write""
This reverts commit 4109c34207.
2019-10-11 23:01:13 +08:00
quininer
4109c34207 Revert "refactor: separate read and write"
This reverts commit 4dd5e19a19.
2019-10-01 10:24:22 +08:00
quininer
4dd5e19a19 refactor: separate read and write 2019-10-01 01:56:11 +08:00
quininer
0386abcee1 Fix test 2019-09-01 13:32:25 +08:00
Lucio Franco
c190031761 Update to tokio 0.2.0-alpha.4 (#45) 2019-09-01 13:29:07 +08:00
quininer
bbc6688292 Update some test 2019-08-10 23:43:19 +08:00
quininer
3ffb736d5e update server example 2019-05-22 00:54:10 +08:00
quininer
b03c327ab6 make simple test work 2019-05-20 00:28:27 +08:00
quininer
f7472e89a2 make early data test work 2019-05-19 00:48:56 +08:00
quininer
65932f5150 Add 0-RTT test 2019-02-18 20:01:37 +08:00
quininer
f633a72f02 Merge branch 'master' into new-api 2018-09-17 20:09:50 +08:00
quininer
b040a9a65f Test use lazy_static! 2018-08-16 22:07:12 +08:00
quininer
32f328fc14 remove futures 0.2 code 2018-08-16 18:00:21 +08:00
quininer
37954cd647 use tokio-tls 0.2 api 2018-08-09 10:46:28 +08:00
Joseph Birr-Pixton
a8e1e9ac35 Fix warnings now set_single_cert yields a Result 2018-07-15 15:02:42 +01:00
quininer
fff2f4a73b fix(tokio_impl): shutdown WouldBlock 2018-03-31 15:16:31 +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
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
8d6140a7b9 upgrade example/test to tokio 2018-02-28 14:36:37 +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
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
037f84ea98 [Added] tests 2017-08-13 18:48:30 +08:00