<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap:break-word"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Hi t.nishiyori,</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><div id="bloop_customfont" style="margin:0px">Don’t worry, just like Ermilov said, when you enable the gzip module and nginx gets a part of response body, gzip module will try to compress the data, and if the buffers reach the limit, gzip module just send these compressed data firstly(ngx_http_gzip_body_filter), when processing by chunk module, they evolved a “chunk”. After some buffers is free, gzip will continue the work.</div><div><br></div></div> <div id="bloop_sign_1493372394808700160" class="bloop_sign"></div> <br><p class="airmail_on">On 28 April 2017 at 16:56:06, t.nishiyori (<a href="mailto:nginx-forum@forum.nginx.org">nginx-forum@forum.nginx.org</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>Hi tokers,<br><br>> nginx compresses the body by “chunk”<br>Thanks for explanation about gzip-module.<br>So, there were no errors when upstream response size exceeds the<br>gzip_buffers_size.<br>But I think a lot of large responses exceed the prepared buffers, some day.<br>Is there any possibility of such a problem?<br><br>Thank you.<br><br><br>tokers Wrote:<br>-------------------------------------------------------<br>> There is no any directive like “gzip_max_length” so far.<br>> By the way, nginx compresses the body by “chunk”, so one “chunk” is an<br>> independtent compressed data.<br>> <br>> <br>> On 27 April 2017 at 13:27:42, t.nishiyori<br>> (<a href="mailto:nginx-forum@forum.nginx.org">nginx-forum@forum.nginx.org</a>)<br>> wrote:<br>> <br>> Hello,<br>> <br>> I'm using nginx-1.11.2 for proxy server with gzip-module.<br>> <br>> I hope to use such like a "gzip_max_length" directive in<br>> ngx_http_gzip_module.<br>> Because some upstream response's sizes exceeded the settings of<br>> gzip_buffers.<br>> (But there were no error... These are strange things for me...)<br>> <br>> I can change the gzip_buffers to enough size for upstream, but there<br>> is no<br>> limit.<br>> <br>> Can I set a limit of maximum content-size for gzip module?<br>> <br>> Thank you.<br>> <br>> Posted at Nginx Forum:<br>> <a href="https://forum.nginx.org/read.php?2,273899,273899#msg-273899">https://forum.nginx.org/read.php?2,273899,273899#msg-273899</a><br>> <br>> _______________________________________________<br>> nginx mailing list<br>> <a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>> <a href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>> _______________________________________________<br>> nginx mailing list<br>> <a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>> <a href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a><br><br>Posted at Nginx Forum: <a href="https://forum.nginx.org/read.php?2,273899,273920#msg-273920">https://forum.nginx.org/read.php?2,273899,273920#msg-273920</a><br><br>_______________________________________________<br>nginx mailing list<br><a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br><a href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a></div></div></span></blockquote></body></html>