]> git.ipfire.org Git - thirdparty/squid.git/commit
Author: Alex Rousskov <rousskov@measurement-factory.com>
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 2 Feb 2009 07:01:19 +0000 (20:01 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 2 Feb 2009 07:01:19 +0000 (20:01 +1300)
commit6d8e577703fbaa479cca3054ca96846dc6aa909e
treefbbd36bc97a94378637c192e4ca53d294cb173e6
parentc564d9a194c84f6ef76b02ae76e4e535cda23712
Author: Alex Rousskov <rousskov@measurement-factory.com>
Bug 2505: assertion failed: comm.cc:1727: "p == call"

Do not assert that the close handler being removed must be in
the list because comm_close removes all close handlers before any FD handlers
are fired.

There also seems to be an unrelated(?) problem: comm_remove_close_handler
does not really remove the callback. It only cancels the call. It should
probably remove the callback as well to prevent an unlikely situation where
the close handler list grows "too much".
src/comm.cc