-
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.
Set
SslContextBuilder.endpointIdentificationAlgorithm
for Netty 4.2…
….x (#2985) Motivation: In version 4.2.x, Netty introduced new API `SslContextBuilder.endpointIdentificationAlgorithm(String)` and flipped the default value to `HTTPS`. Modifications: - Detect presence of this new method and initialize it with the value from `config.hostnameVerificationAlgorithm()`. - Verify `isOptionSupported` method works as expected before initializing its `MethodHandle`. Result: Hostname verification algorithm is enabled/disabled as expected for ST users with Netty 4.2.x in the classpath.
- Loading branch information
1 parent
7e19105
commit 2c90b8d
Showing
1 changed file
with
55 additions
and
6 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