From: Alex Rousskov Date: Thu, 15 Sep 2011 18:30:52 +0000 (-0600) Subject: Do not let cache manager requests kill SMP Squid using isOpen() assertion. X-Git-Tag: take08 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=18c9af5bc6404f59ed6779a9daa8f01d928a7e3a;p=thirdparty%2Fsquid.git Do not let cache manager requests kill SMP Squid using isOpen() assertion. Same as trunk r11740. --- diff --git a/src/mgr/Action.cc b/src/mgr/Action.cc index 5fa0e4ba79..44b88a4b3c 100644 --- a/src/mgr/Action.cc +++ b/src/mgr/Action.cc @@ -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); }