diff --git a/actix-http-test/Cargo.toml b/actix-http-test/Cargo.toml index 58f962a1d..c08ac79cc 100644 --- a/actix-http-test/Cargo.toml +++ b/actix-http-test/Cargo.toml @@ -39,7 +39,7 @@ actix-testing = "1.0.0" awc = "2.0.0" base64 = "0.13" -bytes = "0.5" +bytes = "0.6" futures-core = { version = "0.3.5", default-features = false } http = "0.2.0" log = "0.4" diff --git a/actix-http/src/h1/dispatcher.rs b/actix-http/src/h1/dispatcher.rs index 27045b126..03f2b32f6 100644 --- a/actix-http/src/h1/dispatcher.rs +++ b/actix-http/src/h1/dispatcher.rs @@ -912,8 +912,7 @@ fn read( where T: AsyncRead + Unpin, { - // FIXME: use tokio-util poll_read_buf - actix_codec::util::poll_read_buf(Pin::new(io), cx, buf) + actix_codec::poll_read_buf(Pin::new(io), cx, buf) } #[cfg(test)]