Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.4
-
None
-
dbfa374 d1a22bd29856807805fa56608d2953c072df0cf1 (qt/qtbase/5.13) dbfa374a8610948f6e03ea1b3f3bc2905ce05be0 (qt/qtbase/5.13) 543769666f18f79bd6ebd6119a39834aafc2b0df (qt/qtbase/5.15)
Description
Hi,
I faced issue with Qt HTTP2 implementation. If channel is disconnected while communication from server, in HTTP2 handler there is automatical channel recovery mechanism. This idea pretty solid, but the problem is that userspace doesn't see this and cannot re-send data to server, for example. As simple solution I suggest to trigger QNetworkReply::error once with QNetworkReply::TemporaryNetworkFailureError, when connection is broken. It will give possibility for library users to re-send required data to server.
Steps:
- Start server from attached tarball
- Start client
- Observe messages conversation
- Stop server
- Start server
Oserved behaivor:
4. Client silently reconnect to server but doesn't send any request
Expected behaivor:
4. Error occured on client side