qt5base-lts/tests/auto/network/access/qnetworkreply
Mårten Nordheim 65bcac95a7 Http2: Remove errored-out requests from queue
The requests will remove themselves once they get deleted
but since the deletion is done through a _queued_ invokeMethod
to 'deleteLater' we will call
QHttpNetworkConnection::_q_startNextRequest first which may
end up starting a reconnect of the TCP socket which we had the error on.

In this specific instance it manifested as a race condition where we
either don't get a proxyAuthorizationRequired signal at all (it was
emitted while we didn't have any valid replies), or we get the signal
emitted too late and it gets emitted on whatever the next reply was.

Task-number: QTBUG-88417
Pick-to: 5.15 6.0
Change-Id: If3f8ececc5550f1868c90124559cb8e3029646d8
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2020-12-02 10:17:12 +01:00
..
certs Merge remote-tracking branch 'origin/5.12' into 5.13 2019-06-25 15:47:42 +02:00
echo CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
test CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
.gitattributes Create auto test for http HEAD request 2011-10-06 11:24:20 +02:00
.gitignore Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
bigfile Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
BLACKLIST Http2: Remove errored-out requests from queue 2020-12-02 10:17:12 +01:00
CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
element.xml qnetworkreplyfileimpl: set attributes if file was sent 2015-05-04 11:20:40 +00:00
empty Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
image1.jpg Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
image2.jpg Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
image3.jpg Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
index.html fix tst_QNetworkReply::headFromHttp failure 2011-10-12 18:01:19 +02:00
qnetworkreply.pro Remove winrt 2020-06-06 20:25:49 +02:00
qnetworkreply.qrc Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
resource Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
rfc3252.txt Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
smb-file.txt Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
testserver_index.html Rework QNetworkReply tests to use docker-based test servers 2018-07-27 17:40:27 +00:00
tst_qnetworkreply.cpp Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00