How can I set a maximum limit for gzip module?
t.nishiyori
nginx-forum at forum.nginx.org
Fri Apr 28 08:55:24 UTC 2017
Hi,
> When all buffers are filled, gzip filter just outputs another chunk of
compressed data.
Thanks for explanation about gzip-module.
When all buffers are filled, how will the next data be handled?
I think that either "wait for the buffer to be released and compressed by
gzip filter" or "output as un-compressed data".
Thank you.
ru at nginx.com Wrote:
-------------------------------------------------------
> On Thu, Apr 27, 2017 at 01:27:28AM -0400, t.nishiyori wrote:
> > Hello,
> >
> > I'm using nginx-1.11.2 for proxy server with gzip-module.
> >
> > I hope to use such like a "gzip_max_length" directive in
> > ngx_http_gzip_module.
> > Because some upstream response's sizes exceeded the settings of
> > gzip_buffers.
> > (But there were no error... These are strange things for me...)
> >
> > I can change the gzip_buffers to enough size for upstream, but there
> is no
> > limit.
> >
> > Can I set a limit of maximum content-size for gzip module?
> >
> > Thank you.
>
> gzip_buffers doesn't limit the maximum size of the response
> that can be compressed. When all buffers are filled, gzip
> filter just outputs another chunk of compressed data.
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,273899,273919#msg-273919
More information about the nginx
mailing list