]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix assertion on bodyPipe != NULL inside ConnStateData::handleFtpRequestData()
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 4 Jun 2014 08:43:48 +0000 (11:43 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 4 Jun 2014 08:43:48 +0000 (11:43 +0300)
commit84aa17d81cdcad77f11f1810b7f524ddf782ac3c
treeb091034a179cbc3eda8cae574687da754d20edd8
parentba1b862c8e2fb4ac6002432c2f16041119c02758
Fix assertion on bodyPipe != NULL inside ConnStateData::handleFtpRequestData()

ftp-native branch hits this assertion when ICAP server respond with error on
a ftp request.
This patch closes the data connection on these cases and also add a check in
ConnStateData::clientReadFtpData to avoid calling handleFtpRequestData when
the bodyPipe is gone for a reason.
src/client_side.cc