You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2012/08/09 18:00:56 UTC

[Bug 53686] Status "501 Not Implemented" sent very late

https://issues.apache.org/bugzilla/show_bug.cgi?id=53686

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Eric Covener <co...@gmail.com> ---
(In reply to comment #0)
> Is there any reason why HTTP_NOT_IMPLEMENTED is returned to the client
> rather late by default_handler() in server/core.c instead of having it
> handled by ap_read_request() in server/protocol.c?
> 
> The way it is now causes Apache to unnecessarily dive down into the document
> root, reading .htaccess files, stat()ing index documents etc. Moving it to
> ap_read_request() would avoid that overhead.
> 
> NB, this might be related to Bug 51201.

Modules need some way to have a look at a request incl. method to see if
they're willing to handle it, it could be done "earlier" in a new hook, but
those modules would probably want their per-directory config completed and
maybe even know what file the request mapped to before deciding.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org