Welcome! Log In Create A New Profile

Advanced

Re: nginx with custom modules crashes in gzip crc32()

agentzh
October 20, 2011 07:54AM
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
Subject Author Posted

nginx with custom modules crashes in gzip crc32()

artemg October 17, 2011 12:27AM

Re: nginx with custom modules crashes in gzip crc32()

Igor Sysoev October 17, 2011 04:28AM

Re: nginx with custom modules crashes in gzip crc32()

artemg October 18, 2011 08:20PM

Re: nginx with custom modules crashes in gzip crc32()

agentzh October 18, 2011 11:26PM

Re: nginx with custom modules crashes in gzip crc32()

artemg October 19, 2011 04:19AM

Re: nginx with custom modules crashes in gzip crc32()

artemg October 20, 2011 07:17AM

Re: nginx with custom modules crashes in gzip crc32()

agentzh October 20, 2011 07:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 104
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready