--------------------- PatchSet 1966 Date: 2005/10/23 08:46:18 Author: serassio Branch: negotiate Tag: (none) Log: Port of patch from Bug #1327 to negotiate Members: src/auth/negotiate/auth_negotiate.cc:1.1.2.1->1.1.2.2 Index: squid3/src/auth/negotiate/auth_negotiate.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/auth/negotiate/auth_negotiate.cc,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- squid3/src/auth/negotiate/auth_negotiate.cc 22 Oct 2005 18:30:59 -0000 1.1.2.1 +++ squid3/src/auth/negotiate/auth_negotiate.cc 23 Oct 2005 08:46:18 -0000 1.1.2.2 @@ -1,6 +1,6 @@ /* - * $Id: auth_negotiate.cc,v 1.1.2.1 2005/10/22 18:30:59 hno Exp $ + * $Id: auth_negotiate.cc,v 1.1.2.2 2005/10/23 08:46:18 serassio Exp $ * * DEBUG: section 29 Negotiate Authenticator * AUTHOR: Robert Collins, Henrik Nordstrom, Francesco Chemolli @@ -268,6 +268,9 @@ { AuthNegotiateUserRequest *negotiate_request; + if (!request->flags.proxy_keepalive) + return; + if (!authenticate) return; @@ -311,6 +314,7 @@ /* we're waiting for a response from the client. Pass it the blob */ debug(29, 9) ("AuthNegotiateConfig::fixHeader: Sending type:%d header: 'Negotiate %s'\n", type, negotiate_request->server_blob); httpHeaderPutStrf(&rep->header, type, "NEGOTIATE %s", negotiate_request->server_blob); + request->flags.must_keepalive = 1; safe_free(negotiate_request->server_blob); break;