Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
aviramha committed May 26, 2024
1 parent a7bd4cc commit 4c88862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ where
.await
.map_err(io_err));

Ok(ProxyStream::Secured(TokioIo::new(secure_stream)))
Ok(ProxyStream::Secured(Box::new(TokioIo::new(secure_stream))))
}

#[cfg(feature = "__rustls")]
Expand Down

0 comments on commit 4c88862

Please sign in to comment.