qt5base-lts/tests/auto/network
Timur Pocheptsov a217188fe0 tst_Http2 auto-test: stop sending DATA frames if test failed
Unlike QNAM, our toy http2 server sends payload as one big chunk as soon as
it fits in the receive window's size. Internally, 'frame writer' splits this
payload into many DATA frames of the appropriate size (imposed either by the
default value or the one from the client's SETTINGS frame). If some test fails,
we can end up with a server waiting for the writer to send all the DATA frames
though it is not needed anymore - there is nobody to receive them after a failure.
This patch moves such a loop into the test server instead and stops the loop early
if needed.

Change-Id: Iea2dcd718d8f83386fd16004807f6447bf999435
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2018-06-04 13:38:04 +00:00
..
access tst_Http2 auto-test: stop sending DATA frames if test failed 2018-06-04 13:38:04 +00:00
bearer Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-13 15:55:44 +01:00
kernel Narrow tst_QDnsLookup::lookup blacklist to only CI 2018-04-04 05:05:51 +00:00
socket tests/auto/network: Avoid unconditional qWait()s 2018-05-08 12:35:40 +00:00
ssl Merge remote-tracking branch 'origin/5.11' into dev 2018-05-14 14:51:46 +02:00
network.pro