Skip to content

Commit

Permalink
Add log message if SSL dual mode is enabled (opensearch-project#16437)
Browse files Browse the repository at this point in the history
* Add log message about dual mode enabled

Signed-off-by: Craig Perkins <[email protected]>

* Add log message about dual mode enabled

Signed-off-by: Craig Perkins <[email protected]>

---------

Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks authored Oct 23, 2024
1 parent 9a476b6 commit 8eccbb5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ protected void initChannel(Channel ch) throws Exception {
.map(SecureTransportSettingsProvider.SecureTransportParameters::dualModeEnabled)
.orElse(false);
if (dualModeEnabled) {
logger.info("SSL Dual mode enabled, using port unification handler");
final ChannelHandler portUnificationHandler = new DualModeSslHandler(
settings,
secureTransportSettingsProvider,
Expand Down

0 comments on commit 8eccbb5

Please sign in to comment.