Project

General

Profile

Actions

Feature #2017

closed

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

Added by PaulM over 14 years ago. Updated almost 8 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_fastcgi
Target version:
ASK QUESTIONS IN Forums:

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 3 (0 open3 closed)

Related to Feature #799: mod_fastcgi + X-Sendfile -> mod_staticfileFixedActions
Related to Feature #2076: X-sendfile should be able to set content-typeFixed2009-10-02Actions
Related to Feature #2253: scgi x-sendfileFixed2010-08-26Actions
Actions #1

Updated by gstrauss almost 8 years ago

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

Updated by gstrauss almost 8 years ago

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

Updated by gstrauss almost 8 years ago

Actions #4

Updated by gstrauss almost 8 years ago

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

Updated by gstrauss almost 8 years ago

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

Also available in: Atom