forked from java-native-access/jna
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure we produce and send window update frames all the times when da…
…ta (java-native-access#471) is read by a stream. Motivation: Due a bug we sometimes missed to produce / send window update frames when QuicStreamChannel.read() was called by the user after the data was already feed into the parent QuicChannel. This could lead to deadlocks as the remote peer never received window update frames and so never tried to send more data. Modifications: - Correctly produce and send window update frames in all cases - Re-enable tests that sometimes failed due the bug Result: No more deadlocks possible
- Loading branch information
1 parent
2a5c77f
commit 7535229
Showing
2 changed files
with
7 additions
and
3 deletions.
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
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