mirror of
https://github.com/actix/actix-web.git
synced 2024-12-17 13:46:36 +00:00
fix h2 compatibility
This commit is contained in:
parent
6b9a193aa8
commit
7507412a1d
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ where
|
|||
flags: Flags::empty(),
|
||||
tasks: VecDeque::new(),
|
||||
state: State::Handshake(server::handshake(IoWrapper {
|
||||
unread: Some(buf),
|
||||
unread: if buf.is_empty() { None } else { Some(buf) },
|
||||
inner: io,
|
||||
})),
|
||||
keepalive_timer: None,
|
||||
|
|
Loading…
Reference in a new issue