mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
strncmp(r->filename, "proxy:", 6) is faster than a
note. Plus, allows for checking even if not due to rewrite. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1588544 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -938,7 +938,6 @@ static int proxy_handler(request_rec *r)
|
||||
strncmp(r->filename, "proxy:", 6) != 0) {
|
||||
r->proxyreq = PROXYREQ_REVERSE;
|
||||
r->filename = apr_pstrcat(r->pool, r->handler, r->filename, NULL);
|
||||
apr_table_setn(r->notes, "rewrite-proxy", "1");
|
||||
}
|
||||
else {
|
||||
return DECLINED;
|
||||
|
Reference in New Issue
Block a user