]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Summary: Fix another cbdata gap in client side processing.
authorrobertc <>
Wed, 5 Feb 2003 09:20:09 +0000 (09:20 +0000)
committerrobertc <>
Wed, 5 Feb 2003 09:20:09 +0000 (09:20 +0000)
Keywords:

Fix another cbdata gap in client side processing.

src/client_side_request.cc

index eda6bc23e79f242dd2767f62bce9e3e6878ec988..f0088f6103145ca13aa4703c39a1dcbf214c9890 100644 (file)
@@ -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;