[dev] possible "bug" in ngx_http_read_discarded_body_handler
manlio_perillo at libero.it
Wed Oct 3 19:52:00 MSD 2007
Igor Sysoev ha scritto:
>> I have read the ngx_http_finalize_request source and it handles the
>> NGX_AGAIN status code.
> If request was finished with NGX_AGAIN and there is buffered data in
> filters, then nginx set ngx_http_writer() that pumps this data to client.
Now it is more clear how Nginx handles buffered data.
There is only one thing to understand: how the flush attribute of the
buffer object works and when there is a need to flush the buffer.
>> 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?
Regards Manlio Perillo
More information about the nginx