-
Notifications
You must be signed in to change notification settings - Fork 420
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always send updated ack number in
ack_reply()
.
Previously, `ack_reply()` was sending the ack number present in `remote_last_ack`, which is only updated by `dispatch`. This means the ack replies could contain a wrong, old ack number. Most of the time this simply caused wasting an extra roundtrip until the socket state settles down, but in extreme cases it could lead to an infinite loop of packets, such as in #338 Fixes #338
- Loading branch information
1 parent
b7a1498
commit 7f0f844
Showing
1 changed file
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters