hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <ossf...@dubioso.net>
Subject Re: Getting proxy information with HttpClient
Date Fri, 06 Apr 2007 07:15:40 GMT
Hello Niti,

> BTW, is it
> necessary to know which Proxy I am behind, like SOCKS or ??.

As long as everything works, you don't need to care. But since
it's not working for you, you need to go into the details. Yes,
there is a big difference between SOCKS and HTTP proxies. An
HTTP proxy needs to be configured in HttpClient, while a SOCKS
host needs to be configured in the JVM, since it's Java code
that opens the SOCKS connection. Unless you are using a different
library for opening the SOCKS connection. Now if you're going
through an HTTP proxy and you know that this proxy should be
connected directly rather than through SOCKS, although SOCKS
is configured in the JVM...  you get the picture, don't you?

cheers,
  Roland

---------------------------------------------------------------------
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