]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix bug 1642: FTP assertion/blank page on authentication error
authoradrian <>
Sat, 2 Sep 2006 16:03:20 +0000 (16:03 +0000)
committeradrian <>
Sat, 2 Sep 2006 16:03:20 +0000 (16:03 +0000)
commit802a8c1db8fa669c49e7f0ef66438476d1c3cc92
tree28b69e084b6d290e1b3a37a320173be5635ca305
parent0fd2205bf98ffabc53f69a0cd84adef3f2a5d06e
Fix bug 1642: FTP assertion/blank page on authentication error

http://www.squid-cache.org/bugs/show_bug.cgi?id=1642

* break out the connection completion code away from the FwdState destructor
* place into ::completed
* Add a flag which goes true when completed has been called; add some
  debugging to indicate (loudly!) if this condition is kicked off
* call ::completed via ::complete if the connection isn't being forwarded;
  mirroring the fwdStateFree() semantics in fwdComplete() from squid-2
src/forward.cc
src/forward.h
src/ftp.cc