Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Invalid
-
4.5.5
-
None
-
None
-
Oracle Linux/RHEL 7.5
Description
I have set a socket timeout on my request, but I've discovered that the socket timeout is not honored when a proxy is being used and the proxy does not respond to the "CONNECT" command. See the attached stack trace, and note the call in org.apache.http.impl.execchain.MainClientExec.createTunnelToTarget - this is the request that does not timeout. Thanks.
It's trivial to reproduce this by using Fiddler as the proxy, with Fiddler configured to break before requests (Rules->Automatic Breakpoints->Before Requests).