Z_BUF_ERROR nginx 0.8.53
Roman Vasilyev
roman at anchorfree.com
Thu Nov 18 22:32:51 MSK 2010
Hi,
I have a lot errors about
*1281 deflate() failed: 2, -5 while reading upstream, .... blah...
blah.... blah
I've checked what -5 means and this is just empty buffer for deflate
(Z_BUF_ERROR):
checked how other software handling this error and found very simple
solution:
http://gcc.gnu.org/ml/java-patches/2000-q4/msg00263.html
http://zlib.net/zlib_how.html
so I've created patch and it solved this problem, all messages gone,
please find patch attached and tell what do you think about it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Z_BUF_ERROR.patch
Type: text/x-patch
Size: 661 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20101118/a3e024ba/attachment.bin>
More information about the nginx
mailing list