Bug in URLConnection?
Christopher Hegarty -Sun Microsystems Ireland
Christopher.Hegarty at Sun.COM
Thu Dec 3 03:08:06 PST 2009
Paulo Levi wrote:
> Besides sending a Proxy to the connection should mean that the
> connection is going to use that proxy if any? Why ask the proxy selector
> anything?
Sorry Paulo I'm not seeing the behavior you are describing.
When making a http request and with a custom proxy selector set I see
only the custom proxy selector's select method being invoked, not the
default selectors one. Also, when using openConnection(Proxy) I see no
calls to the proxy selector ( either custom or default ).
What JDK are you using? Do you have a simple test to demonstrate the
problem? As I said in the previous mail, I do not see the problem you're
describing with the code you posted previously.
-Chris.
More information about the net-dev
mailing list