id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,uname,nginx_version 1826,Gzip deflate broken in some cases,g.krist.linqhost.nl@…,,"In the 1.17 branch some particular gzipped request fail with the following error: {{{ zero size buf in writer t:1 r:1 f:0 0000000001D9FBB0 0000000001D9FBB0-0000000001D9FBB0 0000000000000000 0-0 while sending response to client, }}} After a quick look I think the problem is in ngx_http_gzip_filter_module.c after ctx->out_buf->last = ctx->zstream.next_out; I added an example of a .js file. If you request it, you will get an connection error. ",defect,closed,major,,nginx-core,1.17.x,fixed,gzip deflate,,Linux xxxxxxxxx 3.10.0-957.12.2.el7.x86_64 #1 SMP Fri Apr 19 21:09:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux,nginx/1.17.2