-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP CONNECT does not continue after 204 response from proxy #1859
Comments
Reported-by: Lawrence Wagerfield Fixes #1859
Thanks, can you try out my simple fix in #1860 and tell us if it works ? |
Added test 1904 to verify. Reported-by: Lawrence Wagerfield Fixes #1859
Yes that fixes it 👍 However, it does report the following:
This is quite pedantic, but the server didn't reply Maybe it would be less misleading to replace |
It is "OK" in the sense that all 2xx codes are various forms of OK. But I agree that adding the actual response code instead of the "OK" string there is even more useful. I'll do that and merge this! |
Thanks! |
As per RFC-7231 (4.3.6)
curl
should treat all2xx
responses as "tunnel established".In this instance
curl
isn't handling204
correctly: it responds by ending the connection.I did this
I expected the following
What actually happened
curl/libcurl version
operating system
macOS 10.12.6
The text was updated successfully, but these errors were encountered: