From: Amos Jeffries Date: Thu, 22 Dec 2011 07:30:04 +0000 (-0700) Subject: Bug 3447: assertion failed: CommCalls.h:150: "dp" X-Git-Tag: SQUID_3_2_0_15~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=519a0c0fab0487468d83c2ff67f4ab98bb479b86;p=thirdparty%2Fsquid.git Bug 3447: assertion failed: CommCalls.h:150: "dp" Detatch FD/connection close handlers from reliance on commCloseCbParams some handlers use FdeCbParams and others are possible. If the callback handler needs FD the call creator must save it in the params at call construction time. --- diff --git a/src/comm.cc b/src/comm.cc index 069962b65f..7a364f9a49 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -936,10 +936,6 @@ commCallCloseHandlers(int fd) // If call is not canceled schedule it for execution else ignore it if (!call->canceled()) { debugs(5, 5, "commCallCloseHandlers: ch->handler=" << call); - // XXX: this should not be needed. Params can be set by the call creator - typedef CommCloseCbParams Params; - Params ¶ms = GetCommParams(call); - params.fd = fd; ScheduleCallHere(call); } }