Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.7.1, 5.9.4, 5.12.1, 5.14.1
-
Linux 4.8.13 x86_64
-
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.