Add an erroe message when handler not found. This may be bogus,

since a change similar to this in 1.3.x generated many PR complaints.

Submitted by:	pthreads leftovers


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83778 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Roy T. Fielding
1999-08-26 16:08:08 +00:00
parent c6ba43b62e
commit 75496e7d9f

View File

@ -2478,13 +2478,18 @@ static int default_handler(request_rec *r)
int convert_flag;
#endif
if (r->handler) {
ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_WARNING,
r->server, "handler \"%s\" not found, using default "
"handler for : %s", r->handler, r->filename);
}
/* This handler has no use for a request body (yet), but we still
* need to read and discard it if the client sent one.
*/
if ((errstatus = ap_discard_request_body(r)) != OK) {
return errstatus;
}
r->allowed |= (1 << M_GET) | (1 << M_OPTIONS);
if (r->method_number == M_INVALID) {