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 19226] - NTLM authentication failed due to closing of connection
Date Sun, 27 Apr 2003 20:09:25 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=19226>.
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=19226

NTLM authentication failed due to closing of connection





------- Additional Comments From olegk@apache.org  2003-04-27 20:09 -------
Ok. I think I found the trouble-maker. HttpClient downgrades HTTP protocol
version to 1.0 in when sending requests via a HTTP/1.0 proxy server. No wonder
the proxy does not keep the connection alive.

04:24:256[DEBUG] HttpMethod - -Execute loop try 1
...
04:24:287[DEBUG] wire - ->> "GET http://www.google.fr/ HTTP/1.1[\r][\n]"
...
04:24:474[DEBUG] wire - -<< "HTTP/1.0 407 Proxy Authentication Required[\r][\n]"
...
04:24:537[DEBUG] wire - -<< "Server: squid/2.5.STABLE1-20030121[\r][\n]"
04:24:537[DEBUG] wire - -<< "Mime-Version: 1.0[\r][\n]"
04:24:537[DEBUG] wire - -<< "Date: Sat, 26 Apr 2003 11:04:24 GMT[\r][\n]"
04:24:537[DEBUG] wire - -<< "Content-Type: text/html[\r][\n]"
04:24:537[DEBUG] wire - -<< "Content-Length: 1289[\r][\n]"
04:24:537[DEBUG] wire - -<< "Expires: Sat, 26 Apr 2003 11:04:24 GMT[\r][\n]"
04:24:537[DEBUG] wire - -<< "X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0[\r][\n]"
04:24:537[DEBUG] wire - -<< "Proxy-Authenticate: NTLM[\r][\n]"
04:24:553[DEBUG] wire - -<< "X-Cache: MISS from roland[\r][\n]"
04:24:553[DEBUG] wire - -<< "Proxy-Connection: close[\r][\n]"
...
04:24:803[DEBUG] HttpMethod - -Execute loop try 2
...
04:24:818[DEBUG] wire - ->> "GET http://www.google.fr/ HTTP/1.0[\r][\n]"
...

The question is whether this kind of behavior is wrong or not? Shall 407
response be treated specially when deciding whether HTTP protocol is to be
downgraded? Any opinions?

Oleg

Mime
View raw message