hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19291] - NTLM proxy authentication for https failed
Date Fri, 25 Apr 2003 03:02:43 GMT
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=19291>.
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=19291

NTLM proxy authentication for https failed





------- Additional Comments From becke@u.washington.edu  2003-04-25 03:02 -------
Yes, tunneled HTTPS connections cannot be reused within HttpClient.  This is due to a design

problem with HttpClient. Tunneled connections cannot be retried because the ConnectMethod
is 
added outside of HttpMethod but the retry happens inside HttpMethod.  To be more specific,

connection presistence in this case is technically possible but is unreliable and therefore
disabled 
by HttpClient.

It seems you are also getting the short end of BUG #19286.  This once causes presistence 
problems with HTTPS and JVMs < 1.4.

As far as long term solutions go, I am not sure.  You may have to hack your own version of

HttpClient than removes isStale() and the code that closes tunneled HTTPS connections in 
HttpConnection.releaseConnection().  For this to work you would have to be sure not to reuse

connections, other than in the short term.  We'll have to brainstorm on this some more...

Mike

Mime
View raw message