[dev] possible "bug" in ngx_http_read_discarded_body_handler

Igor Sysoev is at rambler-co.ru
Wed Oct 3 22:51:13 MSD 2007

On Wed, Oct 03, 2007 at 07:45:45PM +0200, Manlio Perillo wrote:

> Igor Sysoev ha scritto:
> >[...]
> >
> >Filters may buffer data, e.g. while gzipping and postpone_output.
> >Flush allows to flush them and to send them to client.
> Ok.
> >>>>Its very hard to follow the entire code flow of Nginx!
> >>>It is even more complex if you look subreqeust processing.
> >>>
> >>What is the use case for a subrequest, and how it works?
> >
> >Subrequests are used, for example, in SSI includes.
> >It's complex thing: nginx may run several subrequests those get data
> >from remote sites in parallel. The subrequests may be recursive.
> >
> So a subrequest is a fully HTTP 1.1 client?

No, subrequest may request local static file, proxied, FastCGI, or memcached

The concept had been got from Apache, however, the processing
is more complex than in Apache due to FSM architecture and parallel

Igor Sysoev

More information about the nginx mailing list