On Tue, Mar 13, 2012 at 5:39 PM, agentzh <age...@gmail.com> wrote:
> On Tue, Mar 13, 2012 at 4:54 PM, Greg Grensteiner <email@example.com>
> > I agree that the proper fix would be to have the proxy_pass do that
> > check.
> > I do not have the chops to do that patch, but this problem has been a
> > pretty
> > big issue for my production environment.
> Okay, I'll look into this and prepare a patch for ngx_srcache this week.
I've added such checks for srcache_store in ngx_srcache 0.13rc5:
It's also included in the ngx_openresty 18.104.22.168 bundle:
In case that such response truncation happens, you will get the
following error-level message in your nginx.conf:
[error] srcache_store: skipped because response body truncated: ...
Please try it out :)