On Thu, Oct 20, 2011 at 7:17 PM, artemg <nginx-forum@nginx.us> wrote:
> By the way passing zero size last_buf is ok, as I understand? What do
> you mean by "non-special bufs" ?
>
A buf with last_buf set is "special". Check out the ngx_buf_special
macro definition in nginx core's src/core/ngx_buf.h:
#define ngx_buf_special(b)
\
((b->flush || b->last_buf || b->sync)
\
&& !ngx_buf_in_memory(b) && !b->in_file)
Regards,
-agentzh
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx