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.
Generate new connection id when no tokens are used (java-native-acces…
…s#71) Motivation: When no tokens are used we should generate a new connection id and not use dcid Modifications: - Generate new id and pass it to accept(...) - Adjust unit test to ensure that the mapping from id to channel still works Result: Correctly handle the case for no token usage
- Loading branch information
1 parent
4730bbd
commit 0e46061
Showing
2 changed files
with
46 additions
and
10 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