summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2019-09-04 15:00:31 +0200
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2019-09-06 03:01:52 +0000
commitd1a22bd29856807805fa56608d2953c072df0cf1 (patch)
tree4e3c3aefd1f6dbed6ccf8d80f5c5b54644873d21 /tests
parenta42a4513398a159e4f6749fbcb1309c4a42b4841 (diff)
A follow-up to a recent fix in QHttpNetworkConnectionChannel
While working with HTTP/2, we are not re-sending failed requests. In case we receive a GOAWAY frame, we properly handle it by processing some active streams if possible, and aborting streams that will not proceed further with ContentResendError. But it's possible that some server failed to send us GOAWAY (for example, it died) or closed the connection not finishing the streams that were still active and valid (ID <= value from GOAWAY frame). Now that we will not re-connect, there is no reason to be quiet about us not progressing - emit RemoteHostClosedError on any remaining active stream/request we cannot process further. Fixes: QTBUG-77852 Change-Id: I4cd68a1c8c103b1fbe36c20a1cc406ab2e20dd12 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> (cherry picked from commit 543769666f18f79bd6ebd6119a39834aafc2b0df)
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions