]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Do not let cache manager requests kill SMP Squid using isOpen() assertion. take08
authorAlex Rousskov <rousskov@measurement-factory.com>
Thu, 15 Sep 2011 18:30:52 +0000 (12:30 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Thu, 15 Sep 2011 18:30:52 +0000 (12:30 -0600)
Same as trunk r11740.

src/mgr/Action.cc

index 5fa0e4ba7940d9ce3ac90e3033a7d28b5626c81f..44b88a4b3cd6aa5f63987b31a86556ed3487a00d 100644 (file)
@@ -70,7 +70,8 @@ Mgr::Action::respond(const Request& request)
     // Assume most kid classes are fully aggregatable (i.e., they do not dump
     // local info at all). Do not import the remote HTTP fd into our Comm
     // space; collect and send an IPC msg with collected info to Coordinator.
-    request.conn->close();
+    ::close(request.conn->fd);
+    request.conn->fd = -1;
     collect();
     sendResponse(request.requestId);
 }