Welcome! Log In Create A New Profile

Advanced

Re: Subrequests: returning response to client

Maxim Dounin
April 22, 2013 12:16PM
Hello!

On Mon, Apr 22, 2013 at 12:17:31AM -0400, davidjb wrote:

> Maxim Dounin Wrote:
> -------------------------------------------------------
>
> > What you are trying to do should be possible with
> > NGX_HTTP_SUBREQUEST_IN_MEMORY - this way subrequest body will be
> > available in memory instead of being sent to a client. But it's
> > not currently supported for fastcgi.
>
> Thanks for the clarification and your reply. I've taken to ignoring request
> and response bodies for now since in my use case, the auth_request backend
> really only needs to respond with redirections for Single Sign On.
>
> Is the thinking that this may eventually be supported by other modules like
> FastCGI/uWSGI or is it related to some technical issue?

The subrequest in memory functionality needs unbuffered handling
in the upstream module, which is not implemented for FastCGI.

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

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

Subrequests: returning response to client

davidjb April 18, 2013 12:55AM

Re: Subrequests: returning response to client

Maxim Dounin April 18, 2013 04:56AM

Re: Subrequests: returning response to client

davidjb April 22, 2013 12:17AM

Re: Subrequests: returning response to client

Maxim Dounin April 22, 2013 12:16PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 230
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