From: Amos Jeffries Date: Wed, 3 Dec 2008 04:10:58 +0000 (-0700) Subject: Author: Andrew Hoying X-Git-Tag: SQUID_3_0_STABLE11~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9664f8c6ddd47f6e8dfe0024b3f3921ad9c211f7;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 6158a31578..85d435df1f 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(); }