Welcome! Log In Create A New Profile

Advanced

Subrequest questions

Aviram Cohen
March 21, 2013 10:20AM
Hi,

I have a few questions about subrequests -
- When a subrequest is completed - where is the response body stored? Is
it entirely in the memory? How does the main request retrieve it?
- Can I invoke the main request from within the context of a body filter
of a subrequest? Can I re-invoke the subrequest from the main request
afterwards?

The problem I'm facing is the following - I perform a subrequest, and I'm
afraid that the response body would be too big. If it is too big, I'd like
to send the entire response of the subrequest back to the client (meaning,
not buffering it in the memory for the main request).
Is that possible?

Thanks,
Aviram
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Subrequest questions

Aviram Cohen 775 March 21, 2013 10:20AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 212
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready