curl/tests/http/testenv
Stefan Eissing 5c58cb0212
http2: fix EOF handling on uploads with auth negotiation
- doing a POST with `--digest` does an override on the initial request
  with `Content-Length: 0`, but the http2 filter was unaware of that
  and expected the originally request body. It did therefore not
  send a final DATA frame with EOF flag to the server.
- The fix overrides any initial notion of post size when the `done_send`
  event is triggered by the transfer loop, leading to the EOF that
  is necessary.
- refs #11194. The fault did not happen in testing, as Apache httpd
  never tries to read the request body of the initial request,
  sends the 401 reply and closes the stream. The server used in the
  reported issue however tried to read the EOF and timed out on the
  request.

Reported-by: Aleksander Mazur
Fixes #11194
Cloes #11200
2023-05-25 08:26:18 +02:00
..
mod_curltest
__init__.py tests/http: more tests with specific clients 2023-04-26 23:24:46 +02:00
caddy.py http2: flow control and buffer improvements 2023-03-30 23:11:26 +02:00
certs.py tests/http: remove year ranges from copyrights 2023-03-15 00:05:29 +01:00
client.py tests/http: more tests with specific clients 2023-04-26 23:24:46 +02:00
curl.py http2: support HTTP/2 to forward proxies, non-tunneling 2023-04-17 17:27:49 +02:00
env.py tests/http: more tests with specific clients 2023-04-26 23:24:46 +02:00
httpd.py http2: fix EOF handling on uploads with auth negotiation 2023-05-25 08:26:18 +02:00
nghttpx.py proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
ports.py tests/http: remove year ranges from copyrights 2023-03-15 00:05:29 +01:00
ws_echo_server.py tests/http: more tests with specific clients 2023-04-26 23:24:46 +02:00