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 <ggrensteiner@tvg.com>
> wrote:
> > 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:
https://github.com/agentzh/srcache-nginx-module/tags
It's also included in the ngx_openresty 1.0.11.23 bundle:
http://openresty.org/#Download
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 :)
Best,
-agentzh