tokio-rustls
tokio-rustls copied to clipboard
Async TLS for the Tokio runtime
Hi! Thank you for this crate. I have this crate in my dependency tree and was just about to upgrade it from 0.23 to 0.24. When upgrading dependencies I always...
This is more of a PR than an issue, since I've implemented the code already, but it's in a separate server: https://code.betamike.com/micropelago/tokio-rustls/commit/18fd688b335430e17e054e15ff7d6ce073db2419 ``` Implement TransparentConfigAcceptor The goal of the TransparentConfigAcceptor...
I found that second packet of a new connection cannot read by server side, but when client send another packet 5secs later, server side can read normally.
Tokio allows splitting a `TcpStream` into a (`Owned`)`ReadHalf` / (`Owned`)`WriteHalf` via [`TcpStream::split` / `TcpStream::into_split`](https://docs.rs/tokio/latest/tokio/net/struct.TcpStream.html#method.split), but I don't believe `tokio_rustls` allows splitting a `TlsStream` that wraps a `TcpStream`. Is there a...
WIP, I plan to add: - async handling for client/server instantiation too under the same feature flag, as that was also blocking in my profiling - probably try to clean...
Hello, I am new to both Rust and async in Rust with tokio so there might be something I might have missed or don't know. Rustls recommends [here](https://docs.rs/rustls/latest/rustls/server/struct.ServerConfig.html#structfield.cert_resolver) to use...
I am willing to contribute work on this. Sharing for broader feedback after a conversation with djc@ and ctz@. There is also a thread in the rustls discord: https://discord.com/channels/976380008299917365/1313647498061025411 ##...
This is a PR against a PR (https://github.com/rustls/tokio-rustls/pull/147). * Adds tests for both cases: deciding to writing the alert, and deciding to not write the alert. Note: the reason one...
@howardjohn please take a look if this can address your use case. If so, could you add some test coverage for it? (I do wonder if at this point it...
https://github.com/rustls/tokio-rustls/blob/7ac70c11031df8278f3e493f7991317c7a8a7d2b/src/server.rs#L106-L128 shows an example of using take_io to write to the socket after a handshake fails. However, this stopped working in 0587801001d4095c992e8c7d6c466e924266bbd5 which started sending alerts on the socket before...