]> git.kaiwu.me - nginx.git/commit
Fixed core variables dynamic access after reconfiguration.
authorMaxim Dounin <mdounin@mdounin.ru>
Thu, 17 May 2012 18:10:34 +0000 (18:10 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Thu, 17 May 2012 18:10:34 +0000 (18:10 +0000)
commit34229e9d4d283e7910309c6c90d4182e5449f272
tree5174a2d169e4b199ad777786f58dc6a6c9351404
parentd2143f11cbb3e1502e75d2e771aed1e79be7d612
Fixed core variables dynamic access after reconfiguration.

If variable was indexed in previous configuration but not in current
one, the NGX_HTTP_VAR_INDEXED flag was left set and confused
ngx_http_get_variable().

Patch by Yichun Zhang (agentzh), slightly modified.
src/http/ngx_http_variables.c