auth: IE4 hangs on failure

From: Sparks, Alan <asparks@dont-contact.us>
Date: Wed, 24 Jun 1998 09:31:36 -0700

I'm trying 1.2beta22 on a SunOS system for testing... I've enabled the
directives

acl password proxy_auth /usr/local/squid/etc/passwd
http_access allow all password
http_access deny all

When I access the cache through Netscape 3, and I type a bad
username/password, all is good... get a auth failure, and a reprompt.
With stupid IE4, however, access hangs for a couple of minutes (seems
like the browser is still reading while the username/password dialog is
still up) and finally times out after several minutes.

The really bad looking thing is the squid goes into an infinite loop of
'FD closed?' messages (shown below). I append the relevent log entries
for the IE4 access

Has anyone tried IE4 with 1.2beta22 and proxy_auth? Is there a patch to
fix this? Seems like a file descriptor is still alive and IE4 lingers
on it...
Thanks in advance for any advice.
-Alan

===============================================
1998/06/24 09:09:22| httpAccept: FD 13: accepted
1998/06/24 09:09:22| clientReadRequest: FD 13: reading request...
1998/06/24 09:09:22| parseHttpRequest: Method is 'GET'
1998/06/24 09:09:22| parseHttpRequest: Request is
'http://nssweb.nss.harris.com/'
1998/06/24 09:09:22| parseHttpRequest: req_hdr = {Accept: image/gif,
image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-Language: en-us
If-Modified-Since: Tue, 23 Jun 1998 00:41:41 GMT
If-None-Match: "29fa-1654-358ef9c5"
User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)
Host: nssweb.nss.harris.com
Proxy-Connection: Keep-Alive

}
1998/06/24 09:09:22| parseHttpRequest: end = {}
1998/06/24 09:09:22| parseHttpRequest: prefix_sz = 343, req_line_sz = 44
1998/06/24 09:09:22| parseHttpRequest: Request Header is
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-Language: en-us
If-Modified-Since: Tue, 23 Jun 1998 00:41:41 GMT
If-None-Match: "29fa-1654-358ef9c5"
User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)
Host: nssweb.nss.harris.com
Proxy-Connection: Keep-Alive

1998/06/24 09:09:22| parseHttpRequest: Complete request received
1998/06/24 09:09:22| aclCheck: checking 'http_access deny CONNECT
!SSL_ports'
1998/06/24 09:09:22| aclMatchAclList: checking CONNECT
1998/06/24 09:09:22| aclMatchAcl: checking 'acl CONNECT method CONNECT'
1998/06/24 09:09:22| aclMatchAclList: returning 0
1998/06/24 09:09:22| aclCheck: checking 'http_access deny
Dangerous_ports'
1998/06/24 09:09:22| aclMatchAclList: checking Dangerous_ports
1998/06/24 09:09:22| aclMatchAcl: checking 'acl Dangerous_ports port 7 9
19'
1998/06/24 09:09:22| aclMatchAclList: returning 0
1998/06/24 09:09:22| aclCheck: checking 'http_access allow all
password'
1998/06/24 09:09:22| aclMatchAclList: checking all
1998/06/24 09:09:22| aclMatchAcl: checking 'acl all src 0.0.0.0/0.0.0.0'
1998/06/24 09:09:22| aclMatchIp: h = 0.0.0.0
1998/06/24 09:09:22| aclMatchIp: addr1 = 0.0.0.0
1998/06/24 09:09:22| aclMatchIp: addr2 = 0.0.0.0
1998/06/24 09:09:22| aclMatchIp: returning 1
1998/06/24 09:09:22| aclMatchAclList: checking password
1998/06/24 09:09:22| aclMatchAcl: checking 'acl password proxy_auth'
1998/06/24 09:09:22| aclMatchAclList: returning 0
1998/06/24 09:09:22| aclCheck: match pending, returning 2
1998/06/24 09:09:22| aclCheckCallback: answer=2
1998/06/24 09:09:22| clientAccessCheckDone:
'http://nssweb.nss.harris.com/' answer=2
1998/06/24 09:09:22| clientSendMoreData: http://nssweb.nss.harris.com/,
44 bytes
1998/06/24 09:09:22| clientSendMoreData: FD 13
'http://nssweb.nss.harris.com/', out.offset=0
1998/06/24 09:09:22| clientSendMoreData: http://nssweb.nss.harris.com/,
1360 bytes
1998/06/24 09:09:22| clientSendMoreData: FD 13
'http://nssweb.nss.harris.com/', out.offset=0
1998/06/24 09:09:22| clientSendMoreData: Appending 1037 bytes after 323
bytes of headers
1998/06/24 09:09:23| clientWriteComplete: FD 13, sz 1402, err 0, off
1360, len -1
1998/06/24 09:15:07| clientReadRequest: FD 13: reading request...
1998/06/24 09:15:07| clientReadRequest: FD 13 closed?
1998/06/24 09:15:08| clientReadRequest: FD 13: reading request...
1998/06/24 09:15:08| clientReadRequest: FD 13 closed?
1998/06/24 09:15:09| clientReadRequest: FD 13: reading request...
1998/06/24 09:15:09| clientReadRequest: FD 13 closed?
1998/06/24 09:15:10| clientReadRequest: FD 13: reading request...
1998/06/24 09:15:10| clientReadRequest: FD 13 closed?
....

=============
Alan Sparks, IS Engineering Support
<asparks@harris.com>
Harris Network Support Systems, Camarillo CA (805) 389-2430
Received on Wed Jun 24 1998 - 09:32:26 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:40:49 MST