mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
Save a few cycles
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1517045 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1871,7 +1871,7 @@ static int proxy_http_handler(request_rec *r, proxy_worker *worker,
|
||||
return DECLINED;
|
||||
if ((u - url) > 14)
|
||||
return HTTP_BAD_REQUEST;
|
||||
scheme = apr_pstrndup(p, url, u - url);
|
||||
scheme = apr_pstrmemdup(p, url, u - url);
|
||||
/* scheme is lowercase */
|
||||
ap_str_tolower(scheme);
|
||||
/* is it for us? */
|
||||
|
Reference in New Issue
Block a user