qt5base-lts/tests/auto/network/access
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
..
hpack Auto-tests: remove unneeded 'gui' from QT variable 2018-04-18 14:22:26 +00:00
hsts Auto-tests: remove unneeded 'gui' from QT variable 2018-04-18 14:22:26 +00:00
http2 tst_Http2 auto-test: stop sending DATA frames if test failed 2018-06-04 13:38:04 +00:00
qabstractnetworkcache qabstractnetworkcache - enable several tests 2016-01-26 13:12:03 +00:00
qftp tests/auto/network: Avoid unconditional qWait()s 2018-05-08 12:35:40 +00:00
qhttpnetworkconnection Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
qhttpnetworkreply Replace Q_NULLPTR with nullptr where possible 2017-09-19 11:53:55 +00:00
qnetworkaccessmanager QNetworkReply: fix isFinished() for disabled replies 2018-03-17 08:38:29 +00:00
qnetworkcachemetadata Updated license headers 2016-01-21 18:55:18 +00:00
qnetworkcookie Add qtest_network.h 2016-09-29 21:46:19 +00:00
qnetworkcookiejar Stop rejecting cookies which have a domain that matches a TLD 2018-04-30 11:18:43 +00:00
qnetworkdiskcache Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
qnetworkreply tests/auto/network: Avoid unconditional qWait()s 2018-05-08 12:35:40 +00:00
qnetworkrequest Merge remote-tracking branch 'origin/5.11' into dev 2018-05-24 16:29:14 +02:00
spdy Updated license headers 2016-01-21 18:55:18 +00:00
access.pro Add HTTP strict tranport security support to QNAM 2017-01-20 08:41:50 +00:00