Skip to content

Commit

Permalink
Update neqo-transport/src/connection/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Max Inden <[email protected]>
Signed-off-by: Lars Eggert <[email protected]>
  • Loading branch information
larseggert and mxinden authored Sep 27, 2024
1 parent 961ab33 commit 0aa9c54
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions neqo-transport/src/connection/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1064,8 +1064,7 @@ impl Connection {
qtrace!([self], "Idle timer {:?}", idle_time);
delays.push(idle_time);

let keep_alive = self.streams.need_keep_alive();
if keep_alive {
if self.streams.need_keep_alive() {
if let Some(keep_alive_time) = self.idle_timeout.maybe_keep_alive_timeout(now, pto)
{
qtrace!([self], "Keep alive timer {:?}", keep_alive_time);
Expand Down

0 comments on commit 0aa9c54

Please sign in to comment.