forked from lavina/lavina
1
0
Fork 0

Compare commits

..

1 Commits

Author SHA1 Message Date
Nikita Vilunov 041c1b5fe2 implement persistent memberships 2024-04-13 02:27:35 +02:00
1 changed files with 2 additions and 0 deletions

View File

@ -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()