httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Ylavic <>
Subject Re: [PATCH] Fix settings options with ProxyPassMatch
Date Wed, 30 Apr 2014 09:54:49 GMT
On Wed, Apr 30, 2014 at 12:53 AM, Yann Ylavic <> wrote:
> Still another solution for these workers would be to reuse the
> ap_regmatch_t vector from proxy_trans() to exact match the worker's
> name (with its zero or more $N replaced with strings offsets from
> vector[N], like ap_expr_str_exec_re() does).

This solution is complete nonsense, I should have though about it more
deeply :-/
There is no such thing as an exact match with a wildcard name.

The place where the regexp (worker's alias) is exectuted and the
resulting ap_regmatch_t vector is used to build the requested URL is
proxy_trans(). Why would mod_proxy have to find (again) the worker
I guess things may have been rewritten in between, or the like, but it
looks like a duplicate search for some (marginal/too simple?) cases.

View raw message