Opened 4 years ago
Closed 4 years ago
Last modified 3 years ago
#1826 closed defect (fixed)
Gzip deflate broken in some cases
|Reported by:||Owned by:|
|uname -a:||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|
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.
Change History (3)
by , 4 years ago
comment:1 by , 4 years ago
|Status:||new → closed|
This was already reported here:
Fix is already committed (0ef2bc0ec9c9) and will be available in the next release.
comment:2 by , 3 years ago
See also #1832.
Note: See TracTickets for help on using tickets.
Example file to trigger connection