Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Proxy requests socket's closure. WinSSL writes to it anyway? #1239
Curl must be compiled with WinSSL support. I'm using Curl 7.52.1 and Windows 8.1.
My VC12 build configuration is:
We don't have access to the proxy server where this issue was originally observed.
Therefore to reproduce this problem we require a proxy server which always responds with a 407 (proxy authentication required) and asks for the connection to be closed.
I achieved this with the following NodeJS script:
Curl command line
Once the dummy proxy is running, we can enter the following curl command:
The correct error message for curl to give in this scenario is:
@Antony74 thank you for the bug report and the dummy proxy code!
I think the bug should be solved like this (I've used the same comment as in