From: Amos Jeffries Date: Tue, 6 Sep 2011 08:38:27 +0000 (+1200) Subject: Bump assert Connection.cc:29 down to a debug notice about Orphan FD (leaked) X-Git-Tag: take08~24^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50dc5b2585b914f9d44476c9157b1de725df76b8;p=thirdparty%2Fsquid.git Bump assert Connection.cc:29 down to a debug notice about Orphan FD (leaked) --- diff --git a/src/comm/Connection.cc b/src/comm/Connection.cc index 628d054d7d..1c50995fd5 100644 --- a/src/comm/Connection.cc +++ b/src/comm/Connection.cc @@ -26,11 +26,9 @@ Comm::Connection::Connection() : static int64_t lost_conn = 0; Comm::Connection::~Connection() { - assert(fd < 0); // These should never occur now. - if (fd >= 0) { - debugs(5, 0, "NOTE: Orphan Comm::Connection: " << *this); - debugs(5, 0, "NOTE: Orphaned Comm::Connections: " << ++lost_conn); + debugs(5, 0, "BUG: Orphan Comm::Connection: " << *this); + debugs(5, 0, "NOTE: " << ++lost_conn << " Orphans since last started."); close(); }