Signed-off-by: Alex Zhang <zchao1995@gmail.com>
This commit is contained in:
Alex Zhang 2017-07-19 21:39:40 +08:00
parent 82aa89566b
commit 2c8f93df87

View File

@ -548,7 +548,7 @@ ngx_http_init_phase_handlers(ngx_conf_t *cf, ngx_http_core_main_conf_t *cmcf)
n += cmcf->phases[i].handlers.nelts;
for (j = cmcf->phases[i].handlers.nelts - 1; j >=0; j--) {
for (j = cmcf->phases[i].handlers.nelts - 1; j >= 0; j--) {
ph->checker = checker;
ph->handler = h[j];
ph->next = n;