October 18, 2011 08:20PM
Thanks for the answer, but its difficult to understand how can that happen. I even compare output of modified (by my module) response and unmodified - they are the same, with the only difference that data in chains is filled in another way. I.e. input data lengths are 100-200-100 bytes (.last - .pos) and after my content rewriting module they can be 0-0-400, or even 0-0-0 chain, and data can be added in next chain. I am doing buffering to match some patterns. In fact of this I see in error log:

[alert] 31974#0: *98657 zero size buf in writer t:1 r:1 f:0 0000000001714FE0 0000000001F8D290-0000000001F8D290 0000000000000000 0-0 while sending to client

Is that ok, to have zero size bufs, or I need to modify the chain, not to pass them forward to other modules?
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: 266
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready