You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Graham Leggett <mi...@sharp.fm> on 2012/11/06 14:00:02 UTC

Non-file handlers

Hi all,

Historically, mod_proxy has done some nasty bending over backwards to try bypass the file processing and directory walk inside httpd.

Ideally, there should be a sane way to make a request as "not a file request", which completely bypasses all file handling, the directory walk, etc, with the expectation that the handler is expecting this and knows what to do.

Would it make sense to add a flag to request_rec that means "bypass file handling for this request"? Is there another way to do this?

Regards,
Graham
--


Re: Non-file handlers

Posted by Jim Jagielski <ji...@jaguNET.com>.
Also maybe we can look into leveraging no_local_copy as well... For requests
it means "is this a file request" and for the response it means "don't
send HTTP_NOT_MODIFIED"

On Nov 6, 2012, at 8:20 AM, Graham Leggett <mi...@sharp.fm> wrote:

> On 06 Nov 2012, at 3:16 PM, Jim Jagielski <ji...@jaguNET.com> wrote:
> 
>> notes?
> 
> Will need to look how often we ask "is this a file request", to make sure looking up notes repeatedly isn't expensive.
> 
> Regards,
> Graham
> --
> 


Re: Non-file handlers

Posted by Graham Leggett <mi...@sharp.fm>.
On 06 Nov 2012, at 3:16 PM, Jim Jagielski <ji...@jaguNET.com> wrote:

> notes?

Will need to look how often we ask "is this a file request", to make sure looking up notes repeatedly isn't expensive.

Regards,
Graham
--


Re: Non-file handlers

Posted by Jim Jagielski <ji...@jaguNET.com>.
notes?

On Nov 6, 2012, at 8:00 AM, Graham Leggett <mi...@sharp.fm> wrote:

> Hi all,
> 
> Historically, mod_proxy has done some nasty bending over backwards to try bypass the file processing and directory walk inside httpd.
> 
> Ideally, there should be a sane way to make a request as "not a file request", which completely bypasses all file handling, the directory walk, etc, with the expectation that the handler is expecting this and knows what to do.
> 
> Would it make sense to add a flag to request_rec that means "bypass file handling for this request"? Is there another way to do this?
> 
> Regards,
> Graham
> --
>