diff options
| author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2011-06-10 16:08:40 (GMT) |
|---|---|---|
| committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2011-06-10 16:08:40 (GMT) |
| commit | ba7e9504b6e92121f514a88fc31f61da54f25817 (patch) | |
| tree | f244bd3b89a9ed5f044a3516ee5015b72c9efce6 /src/network/socket/qhttpsocketengine.cpp | |
| parent | 267e7ca0e586eb63c62deac94f8412db962d621d (diff) | |
| parent | e97cacf23bc3910fd3368563afa97fed0e2597a5 (diff) | |
| download | Qt-ba7e9504b6e92121f514a88fc31f61da54f25817.zip Qt-ba7e9504b6e92121f514a88fc31f61da54f25817.tar.gz Qt-ba7e9504b6e92121f514a88fc31f61da54f25817.tar.bz2 | |
Merge remote-tracking branch 'mainline/4.8'
Diffstat (limited to 'src/network/socket/qhttpsocketengine.cpp')
| -rw-r--r-- | src/network/socket/qhttpsocketengine.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/socket/qhttpsocketengine.cpp b/src/network/socket/qhttpsocketengine.cpp index 5f5db17..5c672ec 100644 --- a/src/network/socket/qhttpsocketengine.cpp +++ b/src/network/socket/qhttpsocketengine.cpp @@ -149,6 +149,8 @@ bool QHttpSocketEngine::connectInternal() // Handshake isn't done. If unconnected, start connecting. if (d->state == None && d->socket->state() == QAbstractSocket::UnconnectedState) { setState(QAbstractSocket::ConnectingState); + //limit buffer in internal socket, data is buffered in the external socket under application control + d->socket->setReadBufferSize(65536); d->socket->connectToHost(d->proxy.hostName(), d->proxy.port()); } |
