]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix "store_status == STORE_PENDING" assertion in FTP with large responses
authorwessels <>
Mon, 23 Apr 2007 13:29:57 +0000 (13:29 +0000)
committerwessels <>
Mon, 23 Apr 2007 13:29:57 +0000 (13:29 +0000)
commit35f269984076c6649d5fed3e52592b60c2671e6b
treec41dd140f275e7bac651045639416f961f8ef21f
parent110f57f415cc53bc1a8bb77c74d0040678a2cfb5
Fix "store_status == STORE_PENDING" assertion in FTP with large responses

An FTP object that exceeds reply_body_max_size leads to an assertion
failure.  The StoreEntry is aborted by the call to appendSuccessHeader(),
but the abort callback is delayed due to using events.  We need to
check for ENTRY_ABORTED (again) right after the appendSuccessHeader()
call -- yuck.
src/ftp.cc