[PATCH v3 12/12] Static: multiple paths in the "index" option
Valentin V. Bartenev
vbart at nginx.com
Sun Dec 19 03:11:50 UTC 2021
On Sunday, 19 December 2021 04:30:30 MSK Alejandro Colomar wrote:
[..]
> @@ -242,6 +254,7 @@ nxt_http_static_iterate(nxt_task_t *task, nxt_http_request_t *r,
> conf = ctx->action->u.conf;
>
> share = &conf->shares[ctx->share_idx];
> + index = conf->indices[ctx->index_idx];
>
> #if (NXT_DEBUG)
> nxt_str_t shr;
[..]
I haven't applied and tested this patch yet, but are you sure that it works?
Because from just a brief look I don't see where ctx->index_idx is incremented.
Am I missing somehting?
--
Valentin
More information about the unit
mailing list