Motivation:
TLS_FALSE_START slightly changes the "flow" during handshake which may cause suprises for the end-user. We should better disable it by default again and later add a way to enable it for the user.
Modification:
This reverts commit 514d349e1f
.
Result:
Restore "old flow" during TLS handshakes.
This commit is contained in:
parent
5c522916f7
commit
3353bc1152
@ -358,8 +358,7 @@ public class ReferenceCountedOpenSslEngine extends SSLEngine implements Referenc
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!jdkCompatibilityMode) {
|
if (!jdkCompatibilityMode) {
|
||||||
SSL.setMode(ssl, SSL.getMode(ssl) | SSL.SSL_MODE_ENABLE_PARTIAL_WRITE
|
SSL.setMode(ssl, SSL.getMode(ssl) | SSL.SSL_MODE_ENABLE_PARTIAL_WRITE);
|
||||||
| SSL.SSL_MODE_ENABLE_FALSE_START);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// setMode may impact the overhead.
|
// setMode may impact the overhead.
|
||||||
|
Loading…
Reference in New Issue
Block a user