forked from lavina/lavina
Compare commits
1 Commits
694d35dbf1
...
041c1b5fe2
Author | SHA1 | Date |
---|---|---|
Nikita Vilunov | 041c1b5fe2 |
|
@ -1,4 +1,5 @@
|
|||
use std::io::ErrorKind;
|
||||
use std::net::SocketAddr;
|
||||
use std::sync::Arc;
|
||||
use std::time::Duration;
|
||||
|
||||
|
@ -281,6 +282,7 @@ async fn terminate_socket() -> Result<()> {
|
|||
assert_matches!(s.next_xml_event().await?, Event::End(b) => assert_eq!(b.local_name().into_inner(), b"features"));
|
||||
s.send(r#"<starttls/>"#).await?;
|
||||
assert_matches!(s.next_xml_event().await?, Event::Empty(b) => assert_eq!(b.local_name().into_inner(), b"proceed"));
|
||||
let buffer = s.buffer;
|
||||
|
||||
let connector = TlsConnector::from(Arc::new(
|
||||
ClientConfig::builder()
|
||||
|
|
Loading…
Reference in New Issue