Answer the question
In order to leave comments, you need to log in
What should I change to pass the request over https through a proxy with the header in the Connection: close request?
Hello, there is a private http proxy server. And a computer on Windows 10 x64.
If you make HTTPS requests from the computer through this proxy, adding to the request header Connection: close
, for example, through a Node.js script, a PHP script, setting this proxy to an external proxy in sniffers like Charles, Burp Suite,
or via cURL, then the request passes in the best case 1 time out of 10, or maybe not at all.
Example for cURL:
curl -x http://user:[email protected]:port https://httpbin.org/get -H "Connection: Close"
curl: (56) Failure when receiving data from the peer
Connection: close
or just via HTTP, then there are no problems and the server always responds to both node.js and PHP and cURL and everything else. curl 7.55.1 (Windows) libcurl/7.55.1 WinSSL
) is in system32, file size 412 kb, apparently using the surrounding dll's to query. curl 7.73.0 (x86_64-pc-win32) libcurl/7.73.0 OpenSSL/1.1.1h (Schannel) zlib/1.2.11 brotli/1.0.9 zstd/1.4.5 WinIDN libssh2/1.9.0 nghttp2/1.41.0
) the size of the exe is about 3mb, then HTTPS requests Connection: close
pass through it successfully . Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question