jdk/src/share/classes/sun/security/ssl/Handshaker.java
changeset 18554 d2f655022d2d
parent 18283 f842a42076b9
child 19823 f0fd09e20528
child 22309 1990211a42e5
equal deleted inserted replaced
18553:59e9794ae1be 18554:d2f655022d2d
   185     // By default, allow such legacy hello messages.
   185     // By default, allow such legacy hello messages.
   186     static final boolean allowLegacyHelloMessages = Debug.getBooleanProperty(
   186     static final boolean allowLegacyHelloMessages = Debug.getBooleanProperty(
   187                     "sun.security.ssl.allowLegacyHelloMessages", true);
   187                     "sun.security.ssl.allowLegacyHelloMessages", true);
   188 
   188 
   189     // To prevent the TLS renegotiation issues, by setting system property
   189     // To prevent the TLS renegotiation issues, by setting system property
   190     // "jdk.tls.rejectClientInitializedRenego" to true, applications in server
   190     // "jdk.tls.rejectClientInitiatedRenegotiation" to true, applications in
   191     // side can disable all client initiated SSL renegotiations regardless
   191     // server side can disable all client initiated SSL renegotiations
   192     // of the support of TLS protocols.
   192     // regardless of the support of TLS protocols.
   193     //
   193     //
   194     // By default, allow client initiated renegotiations.
   194     // By default, allow client initiated renegotiations.
   195     static final boolean rejectClientInitiatedRenego =
   195     static final boolean rejectClientInitiatedRenego =
   196             Debug.getBooleanProperty(
   196             Debug.getBooleanProperty(
   197                 "jdk.tls.rejectClientInitializedRenego", false);
   197                 "jdk.tls.rejectClientInitiatedRenegotiation", false);
   198 
   198 
   199     // need to dispose the object when it is invalidated
   199     // need to dispose the object when it is invalidated
   200     boolean invalidated;
   200     boolean invalidated;
   201 
   201 
   202     Handshaker(SSLSocketImpl c, SSLContextImpl context,
   202     Handshaker(SSLSocketImpl c, SSLContextImpl context,