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.
Fix 0RTT test when offloading tasks (java-native-access#548)
Motivation: We need to ensure the session was added to the cache before creating the second connection as otherwise the test will timeout due not re-using sessions. Modifications: - Add extra method to QuicClientSessionCache that we can use to check if a session was added - Spin until the session was added to the cache and only after that try to connect the second time Result: No more timeouts due a race when testing for 0RTT. Fixes netty/netty-incubator-codec-quic#544
- Loading branch information
1 parent
52032f9
commit 9dfaba6
Showing
2 changed files
with
21 additions
and
9 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