Skip to content

Commit

Permalink
apps: keep processing connections after draining one
Browse files Browse the repository at this point in the history
If a connection doesn't have any more packets to send, we should keep
processing other connections, rather than going back to polling.
  • Loading branch information
ghedo committed Jun 12, 2024
1 parent 731510e commit a79413a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/src/bin/quiche-server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ fn main() {
}

if total_write == 0 || dst_info.is_none() {
break;
continue;
}

if let Err(e) = send_to(
Expand Down

0 comments on commit a79413a

Please sign in to comment.