Welcome! Log In Create A New Profile

Advanced

Re: safe to call ngx_http_subrequest inside location handler?

Maxim Dounin
May 28, 2013 06:56AM
Hello!

On Tue, May 28, 2013 at 04:03:07AM -0400, jesse wrote:

> 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.

This mostly works since 0.7.25. There are some subtleties with
request body handling though.

--
Maxim Dounin
http://nginx.org/en/donation.html

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

safe to call ngx_http_subrequest inside location handler?

jesse May 28, 2013 04:03AM

Re: safe to call ngx_http_subrequest inside location handler?

Maxim Dounin May 28, 2013 06:56AM

Re: safe to call ngx_http_subrequest inside location handler?

jesse May 28, 2013 01:19PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 318
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready