nginx with custom modules crashes in gzip crc32()
agentzh
agentzh at gmail.com
Thu Oct 20 11:52:59 UTC 2011
On Thu, Oct 20, 2011 at 7:17 PM, artemg <nginx-forum at 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
More information about the nginx
mailing list