question about ngx_http_named_location

Anatoli Marinov toli at webforge.bg
Wed Aug 29 11:43:04 UTC 2012


Hello Mates,
I am wondering why in ngx_http_named_location is used a segment of code 
that resets all modules contexts. I mean the line ngx_memzero(r->ctx, 
sizeof(void *) * ngx_http_max_module);.
My opinion is that the module context should not be touched outside of 
the certain module. Is there a special reason for this patch? Is there a 
case which requires it?


Thanks in advance
Anatoli Marinov

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20120829/c3648e83/attachment.html>


More information about the nginx-devel mailing list