--------------------- PatchSet 431 Date: 2002/12/20 07:59:42 Author: apbarrett Branch: follow_xff Tag: (none) Log: Fix unguarded http->conn reference in clientFollowXForwardedForDone() Members: src/client_side_request.cc:1.4.6.6->1.4.6.7 Index: squid3/src/client_side_request.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/client_side_request.cc,v retrieving revision 1.4.6.6 retrieving revision 1.4.6.7 diff -u -r1.4.6.6 -r1.4.6.7 --- squid3/src/client_side_request.cc 12 Dec 2002 09:15:11 -0000 1.4.6.6 +++ squid3/src/client_side_request.cc 20 Dec 2002 07:59:42 -0000 1.4.6.7 @@ -1,6 +1,6 @@ /* - * $Id: client_side_request.cc,v 1.4.6.6 2002/12/12 09:15:11 apbarrett Exp $ + * $Id: client_side_request.cc,v 1.4.6.7 2002/12/20 07:59:42 apbarrett Exp $ * * DEBUG: section 85 Client-side Request Routines * AUTHOR: Robert Collins (Originally Duane Wessels in client_side.c) @@ -353,7 +353,7 @@ cleanup: /* clean up, and pass control to clientAccessCheck */ debug(85, 6) ("clientFollowXForwardedForDone: cleanup\n"); - if (Config.onoff.log_uses_indirect_client) { + if (Config.onoff.log_uses_indirect_client && http->conn) { /* * Ensure that the access log shows the indirect client * instead of the direct client. Be sure to mask with the