Closed quininer closed 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.
tokio-rutsls
read
write
flush
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.
TlsStream
travis-ci's openssl does not support early data. :disappointed:
This changed the long-term design of
tokio-rutsls
. It separates theread
andwrite
, which means we have to manually callread
andflush
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
.