fix cargo.toml
This commit is contained in:
parent
fc296a4d01
commit
f51cd5e012
2 changed files with 2 additions and 3 deletions
|
|
@ -53,8 +53,6 @@ h3 = { git = "https://github.com/hyperium/h3.git" }
|
||||||
h3-quinn = { git = "https://github.com/hyperium/h3.git" }
|
h3-quinn = { git = "https://github.com/hyperium/h3.git" }
|
||||||
bytes = "1.1.0"
|
bytes = "1.1.0"
|
||||||
mimalloc-rust = "0.2.0"
|
mimalloc-rust = "0.2.0"
|
||||||
thiserror = "1.0.31"
|
|
||||||
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -99,9 +99,10 @@ where
|
||||||
tls_server_name: ServerNameLC,
|
tls_server_name: ServerNameLC,
|
||||||
) -> Result<()>
|
) -> Result<()>
|
||||||
where
|
where
|
||||||
S: BidiStream<Bytes> + Send + 'static,
|
S: BidiStream<Bytes>,
|
||||||
{
|
{
|
||||||
let (req_parts, _) = req.into_parts();
|
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を直に流し込めるのだが。
|
// TODO: h3 -> h2/http1.1等のプロトコル変換のため、一旦全部バッファリングしないと無理そう。H3->H3ならBytesを直に流し込めるのだが。
|
||||||
let mut body_buf = BytesMut::new();
|
let mut body_buf = BytesMut::new();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue