diff --git a/Cargo.toml b/Cargo.toml index 575ccb9..3ff008e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -53,8 +53,6 @@ h3 = { git = "https://github.com/hyperium/h3.git" } h3-quinn = { git = "https://github.com/hyperium/h3.git" } bytes = "1.1.0" mimalloc-rust = "0.2.0" -thiserror = "1.0.31" - [dev-dependencies] diff --git a/src/proxy/proxy_h3.rs b/src/proxy/proxy_h3.rs index 794aede..be44917 100644 --- a/src/proxy/proxy_h3.rs +++ b/src/proxy/proxy_h3.rs @@ -99,9 +99,10 @@ where tls_server_name: ServerNameLC, ) -> Result<()> where - S: BidiStream + Send + 'static, + S: BidiStream, { let (req_parts, _) = req.into_parts(); + // let (mut send_stream, mut recv_stream) = stream.split(); // TODO: split stream and async body handling // TODO: h3 -> h2/http1.1等のプロトコル変換のため、一旦全部バッファリングしないと無理そう。H3->H3ならBytesを直に流し込めるのだが。 let mut body_buf = BytesMut::new();