diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2009-10-22 09:31:27 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2009-10-22 15:12:58 (GMT) |
commit | 760f221e7f1550ecc8198fb0c01c65ee13ded7f4 (patch) | |
tree | 667dff08f0213f5a1285eef34070fa3a76a40224 /src/network/ssl/qsslsocket_p.h | |
parent | 0e4d5715992f9d7d7e1c598527907797e0b98427 (diff) | |
download | Qt-760f221e7f1550ecc8198fb0c01c65ee13ded7f4.zip Qt-760f221e7f1550ecc8198fb0c01c65ee13ded7f4.tar.gz Qt-760f221e7f1550ecc8198fb0c01c65ee13ded7f4.tar.bz2 |
QSslSocket: Trigger a SSL transmission when reading from the socket.
In certain cases a SSL transfer stalled when a readBufferSize was set.
This change triggers a SSL transmission when there is data on the
socket waiting to be decrypted.
Task-number: QTBUG-3860
Reviewed-by: Thiago
Diffstat (limited to 'src/network/ssl/qsslsocket_p.h')
-rw-r--r-- | src/network/ssl/qsslsocket_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/ssl/qsslsocket_p.h b/src/network/ssl/qsslsocket_p.h index 24d4ebe..ee21956 100644 --- a/src/network/ssl/qsslsocket_p.h +++ b/src/network/ssl/qsslsocket_p.h @@ -120,6 +120,7 @@ public: void _q_readyReadSlot(); void _q_bytesWrittenSlot(qint64); void _q_flushWriteBuffer(); + void _q_flushReadBuffer(); // Platform specific functions virtual void startClientEncryption() = 0; |