diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-02-27 15:23:20 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-04 11:29:30 +0100 |
commit | ce909a138ab486c1ec5cf4b13232ef8d73ab5816 (patch) | |
tree | b0efe77501805fcb8c12402ae104ebe1f152f5cd /src/network/access/qspdyprotocolhandler_p.h | |
parent | a83498299ab02b3706dfbe5867378cad6ca80cce (diff) |
SPDY must handle destoyed QNetworkReply
A QNetworkReply may be deleted before it is closed by the protocol.
Since QSpdyProtocolHandler tracks pointers to QNetworkReplies it must
keep track of their destruction as well to avoid links to deleted
objects.
This fixes the last issue with SPDY access of Google Mail in QtWebKit.
Change-Id: I2c56dc080fdcb249b6ed9189fef84cbbc1220cbd
Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
Diffstat (limited to 'src/network/access/qspdyprotocolhandler_p.h')
-rw-r--r-- | src/network/access/qspdyprotocolhandler_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/access/qspdyprotocolhandler_p.h b/src/network/access/qspdyprotocolhandler_p.h index 8cbfbdda86..50c5ed52a1 100644 --- a/src/network/access/qspdyprotocolhandler_p.h +++ b/src/network/access/qspdyprotocolhandler_p.h @@ -108,6 +108,7 @@ public: private slots: void _q_uploadDataReadyRead(); + void _q_replyDestroyed(QObject*); private: |