Andy Doran wrote:
>
> Hi all. I'm not sure this is the right place to post, but here goes.
squid-dev@ircache.net is probably a better place.
> I've been implementing NTLM proxy authentication for Squid. This is the
> 'NT integrated' authentication MS-Proxy uses. I need to replace MS-Proxy
> where I work, and I expect others do :).
Interesting!
> Everything works fine save one problem. After Squid issues an NTLM
> challenge with the '407: Proxy authentication required' page, both IE4 and
> IE5 expect the connection to the proxy server to be held open for further
> requests - Squid closes it. They can *not* issue the authorization in
> reply by opening another connection.
Try the attached patch. It changes error processing to allow a
persistent client connection.
-- Henrik Nordstrom Spare time Squid hacker
Fri Oct 1 22:22:46 CEST 1999
Modified Files in squid/src
errorpage.c
Allow error messages to keep the client connection persistent
Index: squid/src/errorpage.c
diff -u squid/src/errorpage.c:1.1.1.27.2.1 squid/src/errorpage.c:1.1.1.27.2.2
--- squid/src/errorpage.c:1.1.1.27.2.1 Sat Aug 7 18:11:33 1999
+++ squid/src/errorpage.c Fri Oct 1 22:22:45 1999
@@ -295,9 +295,7 @@
break;
}
httpReplySwapOut(rep, entry);
- httpReplyDestroy(rep);
- mem->reply->sline.status = err->http_status;
- mem->reply->content_length = -1;
+ httpReplyAbsorb(mem->reply, rep);
EBIT_CLR(entry->flags, ENTRY_FWD_HDR_WAIT);
storeBufferFlush(entry);
storeComplete(entry);
Received on Fri Oct 01 1999 - 13:31:18 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:18 MST