[pbs-devel] [PATCH proxmox 03/17] http: adapt MaybeTlsStream to hyper 1.x

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Mar 26 16:23:07 CET 2025


using the legacy client from hyper_util, which is the replacement for
the pre 1.0 Client from hyper itself

Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 proxmox-http/src/client/tls.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxmox-http/src/client/tls.rs b/proxmox-http/src/client/tls.rs
index 81aff783..9eba154a 100644
--- a/proxmox-http/src/client/tls.rs
+++ b/proxmox-http/src/client/tls.rs
@@ -4,7 +4,7 @@ use std::io;
 use std::pin::Pin;
 use std::task::{Context, Poll};
 
-use hyper::client::connect::{Connected, Connection};
+use hyper_util::client::legacy::connect::{Connected, Connection};
 use tokio::io::{AsyncRead, AsyncWrite, ReadBuf};
 use tokio_openssl::SslStream;
 
-- 
2.39.5





More information about the pbs-devel mailing list