diff options
author | Markus Goetz <markus@woboq.com> | 2021-06-07 16:56:59 +0200 |
---|---|---|
committer | Markus Goetz <markus@woboq.com> | 2021-07-20 22:08:39 +0200 |
commit | e1b010ff47ae81067802d9240ea990d6d9187484 (patch) | |
tree | 612acc4acf7585aec439262326442b1a993ad168 /src/network/access/qhttp2protocolhandler.cpp | |
parent | 5e688a72046972b871347ff4d8dd141cdf9f2cef (diff) |
QNetworkReply: Add two new signals
These signals allow monitoring where in the HTTP1/HTTP2
flow a request is currently in.
Fixes: QTBUG-71698
Fixes: QTBUG-18766
Change-Id: Icc2fe435afc9f680fa7a76c32731e25fcdfeb4b4
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/network/access/qhttp2protocolhandler.cpp')
-rw-r--r-- | src/network/access/qhttp2protocolhandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/access/qhttp2protocolhandler.cpp b/src/network/access/qhttp2protocolhandler.cpp index 8f4c5ba6e6..b892a6b2a2 100644 --- a/src/network/access/qhttp2protocolhandler.cpp +++ b/src/network/access/qhttp2protocolhandler.cpp @@ -1369,6 +1369,8 @@ quint32 QHttp2ProtocolHandler::createNewStream(const HttpMessagePair &message, b } } + QMetaObject::invokeMethod(reply, "requestSent", Qt::QueuedConnection); + activeStreams.insert(newStreamID, newStream); return newStreamID; |