summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/network/access/qhttpthreaddelegate.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/access/qhttpthreaddelegate.cpp b/src/network/access/qhttpthreaddelegate.cpp
index d120373..adfe14e 100644
--- a/src/network/access/qhttpthreaddelegate.cpp
+++ b/src/network/access/qhttpthreaddelegate.cpp
@@ -374,6 +374,9 @@ void QHttpThreadDelegate::readBufferFreed(qint64 size)
void QHttpThreadDelegate::readyReadSlot()
{
+ if (!httpReply)
+ return;
+
// Don't do in zerocopy case
if (!downloadBuffer.isNull())
return;