httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53686] Status "501 Not Implemented" sent very late
Date Thu, 09 Aug 2012 16:00:56 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53686

Eric Covener <covener@gmail.com> changed:

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

--- Comment #1 from Eric Covener <covener@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


Mime
View raw message