qt6-bb10/tests/auto/network/access/http2
Mårten Nordheim 13c4e11c49 http2: When a reply is removed from the queue, only remove one
We were using the .remove(Key) API on the map instead of
erase(iterator), so we were removing any reply of the same priority that
had not yet been popped from the queues.

Rewrote to drop loop and only work with iterators.
This issue was there since SPDY days, so not picking all the way back to
5.15, where HTTP2 anyway is not enabled by default.

As a drive-by, drop the #ifndef QT_NO_SSL, which was also there from
SPDY times, which was TLS-only.

Pick-to: 6.6 6.5 6.2
Fixes: QTBUG-116167
Change-Id: Id7e1eb311e009b86054c1fe3d049c760d711a18a
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2023-10-16 19:28:26 +02:00
..
certs Make Ubuntu with its non-standard security level happy 2020-10-26 14:07:54 +01:00
CMakeLists.txt CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
http2srv.cpp Http2: Don't skip checking flag for trailing HEADERS frame if PRIORITY 2023-04-01 00:36:58 +02:00
http2srv.h Http2: Don't skip checking flag for trailing HEADERS frame if PRIORITY 2023-04-01 00:36:58 +02:00
tst_http2.cpp http2: When a reply is removed from the queue, only remove one 2023-10-16 19:28:26 +02:00