You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/03/31 18:23:19 UTC
DO NOT REPLY [Bug 7643] New: -
Can't use proxy server with https
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7643>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7643
Can't use proxy server with https
Summary: Can't use proxy server with https
Product: Commons
Version: Nightly Builds
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: HttpClient
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: mbowler@GargoyleSoftware.com
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);
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>