1
0
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:
Jim Jagielski
2014-04-18 19:21:35 +00:00
parent 9ba346e885
commit 2aa898bb2f
3 changed files with 1 additions and 6 deletions

View File

@@ -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;