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 26, 2024
1 parent 8a5e9fc commit ac43fa8
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 @@ -589,7 +589,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 ac43fa8

Please sign in to comment.