fix bug that "eval" hangs in named location #1

wants to merge 1 commit into


None yet

2 participants


I've tested with nginx-1.2.0 there still be such a bug in it.

I just made a fix to make it work but I am not sure if it is a best way to do this.

agentzh commented May 2, 2012

I believe this is a bug in the nginx core. And ngx_eval is not the only one that is affected. The following patch for the nginx core should fix this:

I'm reluctant to work-around this issue in ngx_eval because it just "hides" the real issue rather than healthily expose it :)

@agentzh agentzh added a commit that referenced this pull request May 2, 2012
@agentzh agentzh added a test for using ngx_eval in named locations. this exposes an i…
…ssue in the nginx core, reported by drdrxp in github issue #1.

hmm.. seem like this is the right way.

@drmingdrmer drmingdrmer closed this May 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment