summaryrefslogtreecommitdiffstats
path: root/src/network/ssl
diff options
context:
space:
mode:
authorJaakko Koskenkorva <jaakko.koskenkorva@nokia.com>2011-06-10 08:43:35 (GMT)
committerJaakko Koskenkorva <jaakko.koskenkorva@nokia.com>2011-06-10 08:43:35 (GMT)
commitc27b8de613fb5a2f1a4496e96ca988e426726991 (patch)
treedaea7966dc90074351134303015a4e7858b77a01 /src/network/ssl
parent06588b7704a4bd41b558a0abe611f3490b6f17e6 (diff)
downloadQt-c27b8de613fb5a2f1a4496e96ca988e426726991.zip
Qt-c27b8de613fb5a2f1a4496e96ca988e426726991.tar.gz
Qt-c27b8de613fb5a2f1a4496e96ca988e426726991.tar.bz2
SSL readbuffer 16->32 kB
Enlarge SSL readbuffer as per performance testing results. Checked from Shane Kearns that larger buffer is OK. Task-id: http://bugreports.qt.nokia.com/browse/QTBUG-18943 RC id: ou1cimx1#779022
Diffstat (limited to 'src/network/ssl')
-rw-r--r--src/network/ssl/qsslsocket_openssl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/ssl/qsslsocket_openssl.cpp b/src/network/ssl/qsslsocket_openssl.cpp
index 565ab2c..141d80a 100644
--- a/src/network/ssl/qsslsocket_openssl.cpp
+++ b/src/network/ssl/qsslsocket_openssl.cpp
@@ -1291,9 +1291,9 @@ bool QSslSocketBackendPrivate::startHandshake()
sslErrors.clear();
}
- // if we have a max read buffer size, reset the plain socket's to 16k
+ // if we have a max read buffer size, reset the plain socket's to 32k
if (readBufferMaxSize)
- plainSocket->setReadBufferSize(16384);
+ plainSocket->setReadBufferSize(32768);
connectionEncrypted = true;
emit q->encrypted();