-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trigger channel read for TLS handshake only on the server-side
Motivation: `SslHandler` automatically initiates the handshake and manages reads on the client-side. We need to initiate read only on the server-side. Modifications: - `DefaultNettyConnection.doChannelActive` read only if `!isClient`; - Assert that channel is active when `AlpnChannelHandler` or `SniCompleteChannelHandler` are added and the read is forced; Result: No unnecessary read on client-side channels.
- Loading branch information
1 parent
0310f54
commit 0e60bb8
Showing
3 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
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