I found something in HttpConnection that I'm curious about. I think I may have actually written it, but I am not sure why. The following code is from HttpConnection.open():

            final ProtocolSocketFactory socketFactory =
                (isSecure()
                    && !isProxied()
                        ? protocolInUse.getSocketFactory()
                        : new DefaultProtocolSocketFactory());

Essentially, on open, the connection is only using the protocol socket factory for non-proxied secure connections. It seems like it should be using the protocol factory for all connections except when proxied and SSL. Does this sound correct?

Mike


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to