curl/tests/http/testenv
Stefan Eissing fbcf10ab84
progress: fx CURLINFO time reporting
Whack the times reported for a transfer (see
https://curl.se/libcurl/c/curl_easy_getinfo.html#TIMES) into order for
all variations of up-/download, http/ftp etc. Make sure they are
reported in the documented order.

There is still the *possibility* of PRETRANSFER being longer then
POSTTRANSFER, if a server sends a response before an upload is done.
POST is the time the first response byte is received, and PRE is the
time the last byte was sent by curl.

This may happen with more likelihood on HTTP/2 and 3 for a server
rejected upload. But for successful uploads, the answer will almost over
come afterwards.

Undo the previous twists in lib500.c tests, adjust pytest timeline
checks.

Fixes #21828
Reported-by: BazaarAcc32 on github
Closes #21843
2026-06-07 14:39:10 +02:00
..
mod_curltest tidy-up: miscellaneous 2026-06-01 22:33:57 +02:00
__init__.py pytest: adding support for dnsd test server 2026-04-10 14:29:29 +02:00
caddy.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
certs.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
client.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
curl.py progress: fx CURLINFO time reporting 2026-06-07 14:39:10 +02:00
dante.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
dnsd.py dnsd: implement HTTPS-RR with alpn pref and no-default-alpn 2026-04-16 22:53:20 +02:00
env.py h3-proxy: fixes around H3 proxy 2026-05-28 14:41:27 +02:00
h2o.py h3-proxy: fixes around H3 proxy 2026-05-28 14:41:27 +02:00
httpd.py pytest: check 429 handling 2026-04-17 22:17:50 +02:00
nghttpx.py h3-proxy: fixes around H3 proxy 2026-05-28 14:41:27 +02:00
ports.py pytest: bind to localhost 2025-09-10 00:55:07 +02:00
sshd.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
vsftpd.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
ws_echo_server.py tests: change Python code style to pass ruff checks 2024-10-04 14:02:05 -07:00