Hello! On Fri, Aug 07, 2015 at 06:22:25PM +0000, Maxime Henrion wrote:
> Thanks, I see I should be using r->upstream->buffer now. However > this callback never seems to be called into for me... I have > some heavy log messages there that don't show. I can tell that > the response was read however, as if I send random garbage nginx > complains about the response not having the proper HTTP headers. > > Any ideas? Make sure you've properly provided post subrequest handler and appropriate flags to ngx_http_subrequest(). See ngx_http_ssi_include() for how it's done there. It's a bit complicated as it handles the "include" command as a whole, but I don't think there are easier examples. -- Maxim Dounin http://nginx.org/ _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel