hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: "Connection timed out" with HttpClient.
Date Tue, 16 Aug 2005 10:27:13 GMT
On Tue, Aug 16, 2005 at 03:44:05PM +0530, Kr wrote:
> Hi Oleg,
> 
> I already set my proxy details using below line of code 
> AuthScope authScope = new AuthScope("20.222.335.37", 3128); 
> and besides this do I still need to set the below :
> client.getHostConfiguration().setProxy("20.222.335.37", 3128);
> 
The AuthScope defines which host, port, and realm a given set of
credentials applies to. The AuthScope does not imply the use of proxy in
any manner or fashion. One still needs to instruct HttpClient to submit
requests via proxy by setting proxy host name and port in the relevant
HostConfiguration instance

Oleg


> Thanks & Regards,
> Kr.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message