mirror of
https://github.com/curl/curl.git
synced 2026-08-24 19:23:38 +03:00
pytest: improve stragglers
A fix for the tests that took the longest: - test_05: make the server close the HTTP/1.1 connection when simulating an error during a download. This eliminates waiting for a keepalive timeout - test_02: pause tests with slightly smaller documents, eliminate special setup for HTTP/2. We test stream window handling now elsewhere already - cli_hx_download: run look in 500ms steps instead of 1sec, resuming paused tranfers earlier. Closes #19809
This commit is contained in:
parent
86b346443b
commit
9cf4a400d2
5 changed files with 7 additions and 57 deletions
|
|
@ -164,8 +164,3 @@ Make a blocking, graceful shutdown of all remaining connections when
|
|||
a multi handle is destroyed. This implicitly triggers for easy handles
|
||||
that are run via easy_perform. The value of the environment variable
|
||||
gives the shutdown timeout in milliseconds.
|
||||
|
||||
## `CURL_H2_STREAM_WIN_MAX`
|
||||
|
||||
Set to a positive 32-bit number to override the HTTP/2 stream window's
|
||||
default of 10MB. Used in testing to verify correct window update handling.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue