Skip to content

Commit

Permalink
Fixes #12378 - Change default value for SslContextFactory.renegotiati…
Browse files Browse the repository at this point in the history
…onAllowed to false.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
  • Loading branch information
sbordet committed Oct 11, 2024
1 parent 6c13f35 commit d3c3f7c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public abstract class SslContextFactory extends ContainerLifeCycle implements Du
private SSLContext _setContext;
private String _endpointIdentificationAlgorithm = "HTTPS";
private boolean _trustAll;
private boolean _renegotiationAllowed = true;
private boolean _renegotiationAllowed;
private int _renegotiationLimit = 5;
private Factory _factory;
private PKIXCertPathChecker _pkixCertPathChecker;
Expand Down Expand Up @@ -993,7 +993,7 @@ public void setTrustManagerFactoryAlgorithm(String algorithm)
}

/**
* @return whether TLS renegotiation is allowed (true by default)
* @return whether TLS renegotiation is allowed ({@code false} by default)
*/
@ManagedAttribute("Whether renegotiation is allowed")
public boolean isRenegotiationAllowed()
Expand Down

0 comments on commit d3c3f7c

Please sign in to comment.