qt6-bb10/tests/auto/network
Mårten Nordheim fc4bb856d9 HPack: test and fix Dynamic Table Size Update
Expose some new API to make it easier to test too.
Will be used in follow-up patches for a http2 bugfix.

The setMaxDynamicTableSize() method no longer sets capacity or evicts
entries. This can then be used to set the new maximum size which we will
accept later when we receive a Dynamic Table Size Update.

This flow makes sense with both encoder and decoder. The decoder would
usually be set by us when we send our SETTINGS frame, and then the
Dynamic Table Size Update would be sent by the peer.
For the encoder we would set the maximum size when we receive the
SETTINGS frame, and then we must defer the actual resizing until we
can send the Dynamic Table Size Update ourselves, usually along with the
next HEADERS frame.

Pick-to: 6.5
Task-number: QTBUG-132277
Change-Id: I959f5006eb09427d130735efe136da8c04453fa2
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
(cherry picked from commit be477819ac17850632bca6ce59ee2c8ef11191cd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 2101e9146522efa3810b10312207f7700fdc4bc7)
Reviewed-by: Mate Barany <mate.barany@qt.io>
2025-01-13 17:44:10 +01:00
..
access HPack: test and fix Dynamic Table Size Update 2025-01-13 17:44:10 +01:00
kernel tst_QDnsLookup: don't add duplicate 'nameserver' lines 2024-10-03 03:43:03 +00:00
selftest Change license for tests files 2024-02-04 09:56:42 +01:00
socket Tests: Reduce the number of module includes 2024-11-04 19:42:27 +00:00
ssl tst_QSslServer: check if SecureTransport will block the test 2024-11-09 09:26:40 +00:00
CMakeLists.txt Rid of 'special case' markers 2023-04-13 18:30:58 +02:00