[dev] possible "bug" in ngx_http_read_discarded_body_handler

Denis Erygin erygin at corp.mail.ru
Fri Oct 5 04:13:26 MSD 2007


I think that we need to write "nginx-kernel-guide" and "nginx-subrequest-guide".

Something like this:
The best work, thanks to Manlio Perillo.

I can to draw (use gdb) a directed graph that represents calling relationship among subroutines 
in nginx-kernel or nginx-surequest, then this is converted to program's control flow 
(but is not the same as a control flow graph).

----- Original Message ----- 
From: "Manlio Perillo" <manlio_perillo at libero.it>
To: <nginx at sysoev.ru>
Sent: Thursday, October 04, 2007 1:25 PM
Subject: Re: [dev] possible "bug" in ngx_http_read_discarded_body_handler

> Igor Sysoev ha scritto:
>> [...]
>>> So a subrequest is a fully HTTP 1.1 client?
>> No, subrequest may request local static file, proxied, FastCGI, or memcached
>> response.
>> The concept had been got from Apache, however, the processing
>> is more complex than in Apache due to FSM architecture and parallel
>> handling.
> I'm reading the addition module but I still do not understand subrequests.
> When I execute a subrequest, where is stored the response body returned 
> by the subrequest?
> Regards  Manlio Perillo

More information about the nginx mailing list