]> git.ipfire.org Git - thirdparty/squid.git/commit
Fixed comm_close handling in deferred reads. The code was expecting old-style
authorAlex Rousskov <rousskov@measurement-factory.com>
Sun, 28 Sep 2008 14:48:27 +0000 (08:48 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Sun, 28 Sep 2008 14:48:27 +0000 (08:48 -0600)
commit2796c0d7c8ff0a22fb151446bd190bf675aa994f
treefd8e8bbb7ff64b781791b704b9055ba9589954f2
parent7425712611aaf8ce97414a20de145d9ffbdbe9de
Fixed comm_close handling in deferred reads. The code was expecting old-style
comm_remove_close_handler call to work if the close handler has not been
dialed yet. We now store a new-style callback so that we can reliably cancel
the close hander call.

Removed all methods from CommRead except for constructors. Apparently,
they were all unused and most were not even defined.
src/CommRead.h
src/comm.cc