1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Return a match whenever we get to the end of the worker name, regardless

of whether there is URL left.

ProxyPassMatch had been using the default worker in trunk.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1641381 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eric Covener
2014-11-24 12:36:32 +00:00
parent eae7562ac1
commit 668c7200db

View File

@@ -1544,7 +1544,8 @@ static int ap_proxy_strcmp_ematch(const char *str, const char *expected)
if (str[x] != expected[y]) if (str[x] != expected[y])
return 1; return 1;
} }
return (str[x] != '\0'); /* We got all the way through the worker path without a difference */
return 0;
} }
PROXY_DECLARE(proxy_worker *) ap_proxy_get_worker(apr_pool_t *p, PROXY_DECLARE(proxy_worker *) ap_proxy_get_worker(apr_pool_t *p,