Change #262289
| Category | None |
| Changed by | Stefan Eissing <stefan@eissing.org> |
| Changed at | Wed 25 Mar 2026 12:16:21 |
| Repository | https://api.github.com/repos/curl/curl |
| Project | curl/curl |
| Branch | master |
| Revision | a186ecf4bf0c8ebb3a9a826155b3392164ec257a |
Comments
proxy: chunked response, error code Add test1715 to check proper handling of chunked transfer encoding in CONNECT responses. Change proxy error code from 56 (RECV_ERROR) for everything to 7 (COULDNT_CONNECT) when the server response could be read successfully, but establishing the connection is not possible (http status code wrong). Adapt several test expectations from 56 to 7. Closes #21084
Changed files
- lib/cf-h1-proxy.c
- lib/cf-h2-proxy.c
- tests/data/Makefile.am
- tests/data/test1059
- tests/data/test1715
- tests/data/test217
- tests/data/test287
- tests/data/test302
- tests/data/test440
- tests/data/test441
- tests/data/test493
- tests/data/test718
- tests/data/test749
- tests/data/test94
- tests/http/test_13_proxy_auth.py