fastcgi_cache_bypass and 502 Bad Gateway

António P. P. Almeida appa at
Sat Feb 12 03:21:39 MSK 2011

On 12 Fev 2011 00h06 WET, mdounin at wrote:

> Hello!

> You are incorrect.  Variables are property of request.  They are 
> either set during request processing or not, and if set - they are 
> visible to all operations with request.

So there's no concept of scope in the usual programming language
sense. It just depends on the request. If the request visits all
locations where variables are set, then the values are set
independently of the context level at which the assignment
instructions exist.

Is this correct?

--- appa

More information about the nginx mailing list