Z_BUF_ERROR nginx 0.8.53

Roman Vasilyev roman at anchorfree.com
Thu Nov 18 22:36:10 MSK 2010


Sorry, sent wrong file, nginx have code for buffer size check, and 
without disabling it, this patch doesn't have any effect, sending patch 
again.

On 11/18/2010 11:32 AM, Roman Vasilyev wrote:
> 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.
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20101118/8b7e2ff8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Z_BUF_ERROR.patch
Type: text/x-patch
Size: 1616 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20101118/8b7e2ff8/attachment.bin>


More information about the nginx mailing list