]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/http.cc
Stop processing a response if the Store entry is gone (#806)
[thirdparty/squid.git] / src / http.cc
index 4735d58d56a92f7773e5c7039134c9b25fe7724b..0dd32501a94578b7f12be9682975a6680bad8e2e 100644 (file)
@@ -1314,6 +1314,11 @@ HttpStateData::processReply()
         Must(!flags.headers_parsed);
     }
 
+    if (EBIT_TEST(entry->flags, ENTRY_ABORTED)) {
+        abortTransaction("store entry aborted while we were waiting for processReply()");
+        return;
+    }
+
     if (!flags.headers_parsed) { // have not parsed headers yet?
         PROF_start(HttpStateData_processReplyHeader);
         processReplyHeader();