nginx 1.12.2 with brotli compression truncates big files

tokers zchao1995 at gmail.com
Fri Jan 12 09:10:54 UTC 2018


Hi!


> 188.210.x.x - - [12/Jan/2018:09:47:56 +0100] "GET
>
/apps/notes/js/vendor/angular/angular.js?v=c097638827ed950b562e4489ee4b6777-0
> HTTP/2.0" 200 236150 <//200 236150> "-" "Mozilla/5.0 (Windows NT 10.0;
Win64; x64;
> rv:58.0) Gecko/20100101 Firefox/58.0"

> If I transfer the same file without br compression:
> 188.210.x.x- - [12/Jan/2018:09:50:28 +0100] "GET
>
/apps/notes/js/vendor/angular/angular.js?v=c097638827ed950b562e4489ee4b6777-0
> HTTP/2.0" 200 1065161 <//200 1065161> "-" "Mozilla/5.0 (Windows NT 10.0;
Win64; x64;
> rv:58.0) Gecko/20100101 Firefox/58.0”

The 236150 and 1065161 is the value of $body_bytes_sent. It conforms the
effects caused by compression.


> Is there a know bug with brotli compression in nginx?

Maybe you can view the GitHub issue?

https://github.com/google/ngx_brotli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20180112/6f14c461/attachment-0001.html>


More information about the nginx mailing list