We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b467d3 commit 2a4fe76Copy full SHA for 2a4fe76
tests/main.rs
@@ -216,6 +216,10 @@ fn it_connects_tls_both() {
216
#[test]
217
#[cfg(feature = "tls")]
218
fn it_connects_tls_both_with_delayed_server_read() {
219
+ // This test is to ensure correctly handle the case when we read both the pre-TLS data as well
220
+ // as (at least part of) the TLS handshake into our the buffer. When that happens, we need to
221
+ // ensure we correctly pass that TLS part of the data to rustls so that is can handle the TLS
222
+ // handshake properly.
223
use std::{marker::PhantomData, sync::Arc};
224
225
struct MyShim<RW> {
0 commit comments