Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P3: Somewhat important
-
Resolution: Done
-
Affects Version/s: 5.7.1, 5.9.4, 5.12.1, 5.14.1
-
Fix Version/s: 5.14.2, 5.15.0 Beta1
-
Component/s: Network: HTTP
-
Environment:Linux 4.8.13 x86_64
-
Commits:5234c6c6a8b8ee7cc33dde41c37dd3866c99405b (qt/qtbase/5.14)
Description
I have a program that makes a sequence of GET-requests to the server. In case of the server is unreachable the first QNetworkReply finished immediately, for other replies QNetworkReply::finished or QNetworkReply::error not called.
Source code of simple program, that reproduced this error, are attached.
Program output for normal connection:
r1 started r1 finished r2 started r2 finished quit app
Program output after `ip route add blackhole $SERVER_IP` was executed:
r1 started r1 error "Network unreachable" r1 finished r2 started
May be the error is related with QTBUG-57390.
Attachments
For Gerrit Dashboard: QTBUG-57799 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
289703,4 | Account for a reply that is finished before we can connect the signals | 5.14 | qt/qtbase | Status: MERGED | +2 | 0 |