This somewhat duplicates some other tests, namely the QHttp2Connection one, but tst_http2 is our only coverage of the HTTP/2 code prior to 6.8. This change adds a test where the server sets the SETTINGS_HEADER_TABLE_SIZE to 0, effectively disabling the dynamic table. We, in an earlier patch, makes the HPack table error out if a new header entry is about to be added if the table has not been resized below a changed 'max'. So, we take advantage of that here and set the new 'max' capacity without resizing the table, or updating dynamic capacity causing it to fail if the client doesn't send the expected Dynamic Table Size Update. Task-number: QTBUG-132277 Pick-to: 6.5 Change-Id: I1ca8ca7828d5b83606e7adbcfc13c154fa1e3cab Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> (cherry picked from commit f7c3acd27ff48b24f99086be206acbe7e00e3208) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 9a1edf52d4b5af35d29b4b2563d1cebafe889385) Reviewed-by: Mate Barany <mate.barany@qt.io> |
||
|---|---|---|
| .. | ||
| auto | ||
| baseline | ||
| benchmarks | ||
| global | ||
| libfuzzer | ||
| manual | ||
| shared | ||
| testserver | ||
| CMakeLists.txt | ||
| README | ||
README
This directory contains autotests and benchmarks based on Qt Test. In order
to run the autotests reliably, you need to configure a desktop to match the
test environment that these tests are written for.
Linux X11:
* The user must be logged in to an active desktop; you can't run the
autotests without a valid DISPLAY that allows X11 connections.
* The tests are run against a KDE3 or KDE4 desktop.
* Window manager uses "click to focus", and not "focus follows mouse". Many
tests move the mouse cursor around and expect this to not affect focus
and activation.
* Disable "click to activate", i.e., when a window is opened, the window
manager should automatically activate it (give it input focus) and not
wait for the user to click the window.