mirror of https://github.com/fafhrd91/actix-web
fix initial on_flight flag
This commit is contained in:
parent
2822839391
commit
0d23e496f7
|
@ -58,7 +58,7 @@ where
|
||||||
) -> Self {
|
) -> Self {
|
||||||
let ping_pong = config.keep_alive_timer().map(|timer| H2PingPong {
|
let ping_pong = config.keep_alive_timer().map(|timer| H2PingPong {
|
||||||
timer: Box::pin(timer),
|
timer: Box::pin(timer),
|
||||||
on_flight: true,
|
on_flight: false,
|
||||||
ping_pong: connection.ping_pong().unwrap(),
|
ping_pong: connection.ping_pong().unwrap(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue