https://redmine.lighttpd.net/https://redmine.lighttpd.net/favicon.ico?13667327412008-02-27T19:37:16Zlighty labsLighttpd - Bug #1150: Incomplete cache files can lead to serving bad contenthttps://redmine.lighttpd.net/issues/1150?journal_id=27412008-02-27T19:37:16Zstbuehler
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Fixed</i></li><li><strong>Resolution</strong> set to <i>fixed</i></li></ul><p>I think you patched the wrong place; if open() failed, there is no new file to delete.</p>
<p>If the write (or the compression) fails, then the cache file should be removed.</p>
<p>Fixed in r2101</p>