summaryrefslogtreecommitdiffstats
path: root/x-net/src/main
diff options
context:
space:
mode:
authorNagendra Modadugu <ngm@google.com>2009-10-08 18:34:48 -0700
committerNagendra Modadugu <ngm@google.com>2009-10-08 19:00:22 -0700
commit344a2ee9bddb738732ff578e3ab185c57f3e1429 (patch)
treec730c8b4bbccc0da008821cb31e0e91d34505ce4 /x-net/src/main
parentfe1eba10c5d69e115dfab55d82cc22d42e9fbae5 (diff)
downloadlibcore-344a2ee9bddb738732ff578e3ab185c57f3e1429.zip
libcore-344a2ee9bddb738732ff578e3ab185c57f3e1429.tar.gz
libcore-344a2ee9bddb738732ff578e3ab185c57f3e1429.tar.bz2
Disable SMALL_BUFFERS and CUTTHROUGH, as SSLSession test fails with these flags.
Diffstat (limited to 'x-net/src/main')
-rw-r--r--x-net/src/main/native/org_apache_harmony_xnet_provider_jsse_OpenSSLSocketImpl.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/x-net/src/main/native/org_apache_harmony_xnet_provider_jsse_OpenSSLSocketImpl.cpp b/x-net/src/main/native/org_apache_harmony_xnet_provider_jsse_OpenSSLSocketImpl.cpp
index 88549e1..b474905 100644
--- a/x-net/src/main/native/org_apache_harmony_xnet_provider_jsse_OpenSSLSocketImpl.cpp
+++ b/x-net/src/main/native/org_apache_harmony_xnet_provider_jsse_OpenSSLSocketImpl.cpp
@@ -1022,14 +1022,6 @@ static void org_apache_harmony_xnet_provider_jsse_OpenSSLSocketImpl_init(JNIEnv*
* and undesirable.)
*/
mode |= SSL_MODE_ENABLE_PARTIAL_WRITE;
-#ifdef SSL_MODE_SMALL_BUFFERS
- mode |= SSL_MODE_SMALL_BUFFERS; /* lazily allocate record buffers; usually saves
- * 44k over the default */
-#endif
-#ifdef SSL_MODE_HANDSHAKE_CUTTHROUGH
- mode |= SSL_MODE_HANDSHAKE_CUTTHROUGH; /* enable sending of client data as soon as
- * ClientCCS and ClientFinished are sent */
-#endif
SSL_CTX_set_mode(ssl_ctx, mode);
if (privatekey != NULL) {