Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: Subrequests: returning response to client

$
0
0
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

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>