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
Using an HTTPS proxy hangs curl #1853
Comments
So you truly want HTTPS to the proxy? (The title says HTTP...) |
Bisected to 5113ad0, only affects http without proxytunnel. I didn't use the gist script for reasons noted below, instead I manually monitored socat output to see when the The reason I didn't use the gist script is because that was a very narrow example written to help us reproduce an issue with a proxytunnel to google's server. if you look in the script you'll see that. Technically you could repurpose it by changing the line in the script to |
@bagder yes I mean't HTTPS proxy (title updated, sorry!). In this very specific case, the gist script represents the problem quite well. I'm actually hitting the issue with a different HTTP proxy implementation, so it's not specific to the gist script. More specifically, it seems to be:
|
`conn->connect_state` is NULL when doing a regular non-CONNECT request over the proxy and should therefor be considered complete at once. Fixes #1853 Reported-by: Lawrence Wagerfield
Please try the fix in #1862 and see if it helps your case. I could reproduce and this change made the problem go away for me. |
Have tried building Does it only work with |
Only with OpenSSL, GnuTLS and NSS. I think the limitation for darwinssl is mostly that nobody has worked on actually adapting that backend for HTTPS proxy. |
I did this
I expected the following
What actually happened
...hangs at this point
curl/libcurl version
operating system
macOS Sierra 10.12.6
This is the same behaviour as: #1156
I am using the same gist to run a basic HTTPS proxy.
The text was updated successfully, but these errors were encountered: