-
Notifications
You must be signed in to change notification settings - Fork 805
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix NullPointerException being thrown by outbound encoder. (#2800)
The NPE was due to null remote host which can happen with TLS 1.3 client certification auth failure. Client cert auth failure can happen after a successful handshake, causing an inbound SSLException. Changed the inbound handler to detect and store the SSLException in the channel attributes and changed the outbound encoder to detect if remote address is not available and there was an SSLException. Changed the integration test to log the stack trace of the caught exception for easier troubleshooting as these SSL tests have been flaky.
- Loading branch information
1 parent
8d9cc28
commit 2baa71d
Showing
3 changed files
with
37 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
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