You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "William Ruppel (JIRA)" <ji...@apache.org> on 2018/07/10 15:02:00 UTC
[jira] [Commented] (HTTPCLIENT-1930) Socket timeout is not honored
on proxy "CONNECT" request
[ https://issues.apache.org/jira/browse/HTTPCLIENT-1930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16538727#comment-16538727 ]
William Ruppel commented on HTTPCLIENT-1930:
--------------------------------------------
Confirm that using SocketConfig works for socket timeout on the proxy request.
Thanks Oleg!
> Socket timeout is not honored on proxy "CONNECT" request
> --------------------------------------------------------
>
> Key: HTTPCLIENT-1930
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1930
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient (classic)
> Affects Versions: 4.5.5
> Environment: Oracle Linux/RHEL 7.5
> Reporter: William Ruppel
> Priority: Minor
> Attachments: stack_trace.txt
>
>
> 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).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org