mirror of
https://github.com/curl/curl.git
synced 2026-08-26 04:53:32 +03:00
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
This commit is contained in:
parent
39036c9021
commit
a186ecf4bf
15 changed files with 84 additions and 29 deletions
|
|
@ -41,7 +41,7 @@ https://test.anything.really.com:%TESTNUMBER --proxy1.0 %HOSTIP:%HTTPPORT
|
|||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<errorcode>
|
||||
56
|
||||
7
|
||||
</errorcode>
|
||||
<protocol crlf="headers">
|
||||
CONNECT test.anything.really.com:%TESTNUMBER HTTP/1.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue