Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eycorsican committed Sep 5, 2023
1 parent 66d5f07 commit 9475fc8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion leaf/tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@ pub async fn new_socks_stream(socks_addr: &str, socks_port: u16, sess: &Session)
.unwrap();
timeout(
Duration::from_secs(2),
handler.stream().unwrap().handle(sess, Some(Box::new(stream))),
handler
.stream()
.unwrap()
.handle(sess, None, Some(Box::new(stream))),
)
.await
.unwrap()
Expand Down

0 comments on commit 9475fc8

Please sign in to comment.