quininer / tokio-rustls

Asynchronous TLS/SSL streams for Tokio using Rustls.
142 stars 38 forks source link

Refactor Stream #50

Closed quininer closed 4 years ago

quininer commented 4 years ago

This changed the long-term design of tokio-rutsls. It separates the read and write, which means we have to manually call read and flush to get expected behavior.

This has many benefits, such as avoiding read and write interference (https://github.com/quininer/tokio-rustls/issues/32, https://github.com/quininer/tokio-rustls/issues/37), allow full-duplex TlsStream.

quininer commented 4 years ago

travis-ci's openssl does not support early data. :disappointed: