Clear connnection cache of QNetworkAccessManager to prevent flaky tests


Clear connection cache between tests to stop a bug in QNAM from causing
reused HTTP/2 connections to sometimes become stuck in tests on Windows
11. This is a temporary fix to flakyness in tst_qhttpserver until
the bug in QNAM is resolved.

Increase the transfer timout in tst_QHttpServer::timeoutConnection
because the full TLS handshake have to be done for all https/1.1 and
http/2 tests now.

Task-number: QTBUG-142127
Change-Id: I9f61f3e38490423436d38dd7db1939e5b5c9852e
Reviewed-by: Dennis Oberst <dennis.oberst@qt.io>
commit7d8e742428e70c766624cfb0ebf63e0dd116f131
parenta1f73ad7020e2035887dc480d070e8b9b9efacc6
authorØystein Heskestad <oystein.heskestad@qt.io>
committerØystein Heskestad <oystein.heskestad@qt.io>
commit timeMon, 1 Dec 2025 10:31:14 +0100