Project

General

Profile

Feature #2017

X-Sendfile handoff to mod-static-file in 1.4.x

Added by PaulM over 10 years ago. Updated over 3 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
mod_fastcgi
Target version:
Start date:
2009-07-01
Due date:
% Done:

100%

Estimated time:
Missing in 1.5.x:

Description

A common use case for X-Sendfile is simple authentication - a backend determines if a user should get a file, and if so, fires off an X-Sendfile. In this use case, it makes very little sense for the backend to re-implement the things that lighttpd already does for serving other static files - figuring out and serving Content Type headers, ETags, 304 responses, etc.

Essentially, I'd like a way to tell lighty to "just serve the file the way you'd serve any other static file".

1.5 apparently has this feature as mentioned here: http://blog.lighttpd.net/articles/2006/07/22/mod_proxy_core-got-x-sendfile-support


Related issues

Related to Feature #799: mod_fastcgi + X-Sendfile -> mod_staticfileFixed

Actions
Related to Feature #2076: X-sendfile should be able to set content-typeFixed2009-10-02

Actions
Related to Feature #2253: scgi x-sendfileFixed2010-08-26

Actions
#1

Updated by gstrauss almost 4 years ago

  • Related to Feature #799: mod_fastcgi + X-Sendfile -> mod_staticfile added
#2

Updated by gstrauss almost 4 years ago

  • Related to Feature #2076: X-sendfile should be able to set content-type added
#3

Updated by gstrauss almost 4 years ago

#4

Updated by gstrauss almost 4 years ago

  • Status changed from New to Patch Pending
  • Target version set to 1.4.40
#5

Updated by gstrauss over 3 years ago

  • Status changed from Patch Pending to Fixed
  • % Done changed from 0 to 100

Also available in: Atom