From 4c8886289493118222384115cdaf314aea0bb721 Mon Sep 17 00:00:00 2001 From: Aviram Hassan Date: Sun, 26 May 2024 22:36:46 +0300 Subject: [PATCH] .. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 3e77962..dc08ba1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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")]