Welcome! Log In Create A New Profile

Advanced

safe to call ngx_http_subrequest inside location handler?

May 28, 2013 04:03AM
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!
SubjectAuthorPosted

safe to call ngx_http_subrequest inside location handler?

jesseMay 28, 2013 04:03AM

Re: safe to call ngx_http_subrequest inside location handler?

Maxim DouninMay 28, 2013 06:56AM

Re: safe to call ngx_http_subrequest inside location handler?

jesseMay 28, 2013 01:19PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 82
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready