Unless I'm missing something (always a possibility :-), there doesn't 
seem to be a way to configure HttpClient to use both HTTPS and a proxy 
server at the same time.  It's not clear if this was just an oversight 
or if there was a deliberate decision to not support this combination 
for some reason.

Assuming that it was an oversight, the fix seems to just require one 
more variation of startSession() in HttpClient.java which would be the 
following:

    public void startSession(String host, int port,
                             String proxyhost, int proxyport, boolean 
https) {
        connection = new 
HttpConnection(proxyhost,proxyport,host,port,https);
    }


-- 
Mike Bowler
Principal, Gargoyle Software Inc.
Voice: (416) 822-0973 | Email  : [EMAIL PROTECTED]
Fax  : (416) 822-0975 | Website: http://www.GargoyleSoftware.com



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

Reply via email to