Skip to content

Commit

Permalink
804 revert SslEngineConfigurator support removal in GrizzlyClientSocket
Browse files Browse the repository at this point in the history
Signed-off-by: Nils Renaud <renaud.nils@gmail.com>
  • Loading branch information
NilsRenaud authored and jansupol committed Sep 15, 2022
1 parent 0e27818 commit 0ca8cc0
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,10 @@ private ExtendedSSLEngineConfigurator getSSLEngineConfigurator(
return new ExtendedSSLEngineConfigurator((SSLEngineConfigurator) configuratorObject, uri.getHost());
}

if (configuratorObject instanceof SslEngineConfigurator) {
return new ExtendedSSLEngineConfigurator((SslEngineConfigurator) configuratorObject, uri.getHost());
}

// if we have reached here the ssl engine configuration property is set, but is of incompatible type
LOGGER.log(Level.CONFIG,
String.format("Invalid type of configuration property of %s (%s), %s cannot be cast to %s or %s",
Expand Down

0 comments on commit 0ca8cc0

Please sign in to comment.