]> git.ipfire.org Git - thirdparty/squid.git/commit
Don't set a close handler for the data FD. If we have both ctrl and
authorwessels <>
Thu, 1 Jan 1998 02:28:08 +0000 (02:28 +0000)
committerwessels <>
Thu, 1 Jan 1998 02:28:08 +0000 (02:28 +0000)
commitff008d8429467d2b7e11f5f051c54696582c44d2
treef8029e0edd3525bcadc4370fbaac6f8a880de86f
parent2a1bc30a5403dcde479bf3125af15617f42f04c5
Don't set a close handler for the data FD.  If we have both ctrl and
data FD's call ftpStateFree() upon close, then we have to delete the
close handler which did NOT get called to prevent ftpStateFree()
getting called twice.  Instead we'll always call comm_close() on the
ctrl FD.
src/ftp.cc