safe to call ngx_http_subrequest inside location handler?

jesse nginx-forum at nginx.us
Tue May 28 08:03:07 UTC 2013


Hello,

So according to evan miller's tutorial and nginx's own source code, it seems
only filters can send subrequests. But I have tried to call
ngx_http_subrequest inside my location handler, and everything seems working
fine. I am using version 1.2.8.

Just want to ask and see if it's safe to do so.

Thanks a lot!

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,239619,239619#msg-239619



More information about the nginx mailing list