Revert "Enable SSL_MODE_ENABLE_FALSE_START if jdkCompatibilityMode is false (#10407)" (#10980)

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:
Norman Maurer 2021-01-29 19:55:56 +01:00 committed by GitHub
parent 5c522916f7
commit 3353bc1152
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.