mirror of https://github.com/fafhrd91/actix-web
fix poll_read_buf
This commit is contained in:
parent
4ffcaa70ce
commit
777087f8bb
|
@ -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"
|
||||
|
|
|
@ -912,8 +912,7 @@ fn read<T>(
|
|||
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)]
|
||||
|
|
Loading…
Reference in New Issue