qt5base-lts/tests/auto/network/access
Lars Schmertmann e3ea1d02e6 QHttpHeaderParser: Allow larger fields but restrict total size
Our limit of 8k for a single header field was too small for certain
services which returned Location values or WWW-Authenticate challenges
longer than 8k.

Instead, taking inspiration from Chromium, we have a limit of 250k for
the full header itself. And increasing our field limit to 100k, which
would occupy almost half of what the total header allows.

Also took the opportunity to make it adjustable from the outside so we
can set more strict limits in other components.

Fixes: QTBUG-104132
Pick-to: 6.3 6.4
Change-Id: Ibbe139445e79baaef30829cfbc9a59f884e96293
Reviewed-by: Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>
2022-06-27 14:02:47 +02:00
..
hpack Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
hsts Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
http2 Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qabstractnetworkcache Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdecompresshelper Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qhttpheaderparser QHttpHeaderParser: Allow larger fields but restrict total size 2022-06-27 14:02:47 +02:00
qhttpnetworkconnection Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qhttpnetworkreply QHttpHeaderParser: Allow larger fields but restrict total size 2022-06-27 14:02:47 +02:00
qnetworkaccessmanager Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qnetworkcachemetadata Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qnetworkcookie Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qnetworkcookiejar Network: update Public Suffix List 2022-05-23 22:28:49 +02:00
qnetworkdiskcache Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qnetworkreply Network: Update expired cert 2022-06-24 17:20:00 +00:00
qnetworkrequest Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt QHttpHeaderParser: Allow larger fields but restrict total size 2022-06-27 14:02:47 +02:00