From: Amos Jeffries Date: Wed, 3 Dec 2008 05:21:15 +0000 (+1300) Subject: Author: Andrew Hoying X-Git-Tag: SQUID_3_2_0_1~1308 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8bc0c94ba55ec6abc17c62c701cfd27df71de051;p=thirdparty%2Fsquid.git Author: Andrew Hoying Bug 2424: filedescriptors being left unnecessary opened --- diff --git a/src/fs/ufs/store_io_ufs.cc b/src/fs/ufs/store_io_ufs.cc index 463a7aa61d..f61463531e 100644 --- a/src/fs/ufs/store_io_ufs.cc +++ b/src/fs/ufs/store_io_ufs.cc @@ -338,7 +338,7 @@ UFSStoreState::readCompleted(const char *buf, int len, int errflag, RefCounterror()) + if (flags.try_closing || (theFile != NULL && theFile->error()) ) tryClosing(); }