Project

General

Profile

Actions

Feature #1003

closed

Feature request: X-Subrequest-*

Added by Anonymous about 17 years ago. Updated over 15 years ago.

Status:
Wontfix
Priority:
Low
Category:
mod_proxy_core
Target version:
-
ASK QUESTIONS IN Forums:

Description

Apache + mod_php include a special function called virtual() that lets you start a new subrequest inside apache and not care about the result.

It would be nice to have a similar feature in lighttpd that performs an additional request and discards the results. The headers should be similar to the new X-Rewrite (http://blog.lighttpd.net/articles/2006/07/22/x-sendfiles-new-friend-x-rewrite) and would be returned along with a valid response.

X-Subrequest-URI and X-Subrequest-Host would work nicely.

Actions #1

Updated by darix about 17 years ago

what would be the usecase? except generating useless cpu load?

Actions #2

Updated by conny almost 17 years ago

PHP docs: http://php.net/virtual.

What an odd function, I never knew about that one. I am also curious as of how and when you would make use of such a function? :-)

Actions #3

Updated by stbuehler over 15 years ago

  • Status changed from New to Fixed
  • Resolution set to wontfix

Just do a real http request if you have to (i guess your system is broken anyway).

Actions #4

Updated by stbuehler over 15 years ago

  • Status changed from Fixed to Wontfix
Actions

Also available in: Atom