From: robertc <> Date: Wed, 5 Feb 2003 09:20:09 +0000 (+0000) Subject: Summary: Fix another cbdata gap in client side processing. X-Git-Tag: SQUID_3_0_PRE1~393 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fbade0535c37751a3cfc913c08f120a414997b68;p=thirdparty%2Fsquid.git Summary: Fix another cbdata gap in client side processing. Keywords: Fix another cbdata gap in client side processing. --- diff --git a/src/client_side_request.cc b/src/client_side_request.cc index eda6bc23e7..f0088f6103 100644 --- a/src/client_side_request.cc +++ b/src/client_side_request.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side_request.cc,v 1.12 2003/02/05 01:42:20 robertc Exp $ + * $Id: client_side_request.cc,v 1.13 2003/02/05 02:20:09 robertc Exp $ * * DEBUG: section 85 Client-side Request Routines * AUTHOR: Robert Collins (Originally Duane Wessels in client_side.c) @@ -351,6 +351,14 @@ void clientAccessCheckDone(int answer, void *data) { ClientRequestContext *context = (ClientRequestContext *)data; + + clientHttpRequest *http_ = context->http; + + if (!cbdataReferenceValid (http_)) { + context->deleteSelf(); + return; + } + clientHttpRequest *http = context->http; err_type page_id; http_status status;