https://redmine.lighttpd.net/https://redmine.lighttpd.net/favicon.ico?13667327412010-08-27T11:58:50Zlighty labsLighttpd - Feature #2253: scgi x-sendfilehttps://redmine.lighttpd.net/issues/2253?journal_id=72192010-08-27T11:58:50ZOlaf-van-der-Spek
<ul></ul><p>jroll wrote:</p>
<blockquote>
<p>One issue I've discovered is that if the file lookup with stat_cache_get_entry fails, the server sends an empty file, not a 502 error code as intended.</p>
</blockquote>
<p>Didn't that get fixed in FastCGI recently?</p> Lighttpd - Feature #2253: scgi x-sendfilehttps://redmine.lighttpd.net/issues/2253?journal_id=72212010-08-27T15:54:24Zjroll
<ul></ul><p>I see that something like this was fixed for fastcgi in <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: X-Sendfile failure should not result in 200 OK (Fixed)" href="https://redmine.lighttpd.net/issues/2226">#2226</a>. I don't know how to see the code changes that were applied of fix this.</p>
<p>I tried setting cos->parsed_response |= HTTP_STATUS; but this didn't seem to help.</p>
<p>John</p> Lighttpd - Feature #2253: scgi x-sendfilehttps://redmine.lighttpd.net/issues/2253?journal_id=72222010-08-27T19:11:33Zradzio
<ul></ul><p>Diff you're looking for: <a class="external" href="http://redmine.lighttpd.net/projects/lighttpd/repository/revisions/2735/diff/branches/lighttpd-1.4.x/src/mod_fastcgi.c">http://redmine.lighttpd.net/projects/lighttpd/repository/revisions/2735/diff/branches/lighttpd-1.4.x/src/mod_fastcgi.c</a></p> Lighttpd - Feature #2253: scgi x-sendfilehttps://redmine.lighttpd.net/issues/2253?journal_id=86812016-01-30T16:07:46Zarteymix
<ul></ul><p>What is the state of X-Sendfile with mod_scgi?</p>
<p>It still does not work with 1.4.39.</p> Lighttpd - Feature #2253: scgi x-sendfilehttps://redmine.lighttpd.net/issues/2253?journal_id=92662016-03-30T21:23:37Zgstrauss
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/2017">Feature #2017</a>: X-Sendfile handoff to mod-static-file in 1.4.x</i> added</li></ul> Lighttpd - Feature #2253: scgi x-sendfilehttps://redmine.lighttpd.net/issues/2253?journal_id=94462016-04-22T05:15:14Zgstrauss
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Patch Pending</i></li><li><strong>Target version</strong> set to <i>1.4.40</i></li></ul><p><a class="external" href="https://github.com/lighttpd/lighttpd1.4/pull/59">https://github.com/lighttpd/lighttpd1.4/pull/59</a></p> Lighttpd - Feature #2253: scgi x-sendfilehttps://redmine.lighttpd.net/issues/2253?journal_id=95472016-05-02T16:25:07Zgstrauss
<ul><li><strong>Status</strong> changed from <i>Patch Pending</i> to <i>Fixed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="[mod_scgi] X-Sendfile feature (fixes #2253) handle X-Sendfile with http_response_xsendfile() if ..." href="https://redmine.lighttpd.net/projects/lighttpd/repository/14/revisions/0a907c643bed54bf19cef1a2a296882e1886f809">0a907c643bed54bf19cef1a2a296882e1886f809</a>.</p>