mirror of
https://github.com/curl/curl.git
synced 2026-04-14 13:01:42 +08:00
- 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 |
||
|---|---|---|
| .. | ||
| mod_curltest | ||
| __init__.py | ||
| caddy.py | ||
| certs.py | ||
| client.py | ||
| curl.py | ||
| env.py | ||
| httpd.py | ||
| nghttpx.py | ||
| ports.py | ||
| ws_echo_server.py | ||