DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28151>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28151 Proxy tunneling/auth with CONNECT for non-HTTP protocols ------- Additional Comments From [EMAIL PROTECTED] 2004-04-05 19:55 ------- Mike (S) The way things have been implemented the default socket factory is always the one that is associated with the 'http' protocol: <code_snip> public synchronized void setHost(String host, int port) { setHost(host, null, port, Protocol.getProtocol("http")); } </code_snip> There's absolutely nothing that presents you from registering any other socket factory as 'http' protocol socket factory. Likewise, you can always register a Protocol of you own and always explicitly use that Protocol with the PtoxyClient. Mike (B) I have clearly overlooked the possibility of simply (re)using HttpMethodDirector. Ironically enough it was me how introduced the safeguard against HttpMethodDirector's recursive execution of the ConnectMethod (which I had though was the reason why HttpMethodDirector could not be used) I think the patch is good to be committed Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]