/** * Connect to a HTTP proxy. * Proxy address must be in _proxyHost and _proxyPort. * Side effects: Sets _proxy, _proxyIn, _proxyOut, * and other globals via readHeaders() * * @param port what the proxy should connect to, probably 4444 * @since 0.9.33 */ private void internalHttpProxyConnect(String host, int port) throws IOException { // connect to the proxy _proxy = InternalSocket.getSocket(_proxyHost, _proxyPort); httpProxyConnect(_proxy, host, port); }
_proxy = InternalSocket.getSocket(_proxyHost, _proxyPort); } else { try {