Commit Graph

85 Commits

Author SHA1 Message Date
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
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
c4597a2506 Merge pull request #1 from briansmith/improve-docs
Clarify and expand documentation.
2017-03-30 13:57:10 +08:00
Brian Smith
2bf0ba169f Clarify and expand documentation.
Fix the license badges to point to the correct files. Fix some typos.
Add more links. Explain how to run the examples.
2017-03-29 19:11:51 -10: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
a335823098 [Fixed] feature tokio-proto 2017-03-16 10:17:30 +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
1921f2bf49 [Fixed] TlsStream should not check poll_write 2017-02-28 08:56:11 +08:00
quininer kel
7e4fcca032 [Improved] MidHandshake/TlsStream
- [Improved] README.md
- [Improved] MidHandshake poll
- [Improved] TlsStream read
- [Fixed] TlsStream write, possible of repeat write
- [Removed] TlsStream poll_{read, write}
2017-02-27 21:02:35 +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
91e2131653 [Improved] update README 2017-02-27 21:02:35 +08:00
quininer kel
ced35f6688 [Added] fork proto.rs 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