Hi,

Is your origin server something like Apache + mod_fastcgi + mod_deflate ?

I did not see this specifically with Nginx but you may hit the same issue 
described here: https://ma.ttias.be/apaches-mod_fastcgi-mod_deflate-troubles/

Best regards,
Thierry

-----Message d'origine-----
De : nginx-devel [mailto:nginx-devel-boun...@nginx.org] De la part de Bjørnar 
Ness
Envoyé : mardi 11 octobre 2016 20:26
À : nginx-devel@nginx.org
Objet : slice module and upstream sent more data than specified in 
"Content-Length"

Hello nginx-devel

I am seeing lots of 'upstream sent more data than specified in
"Content-Length"' errors
when using nginx with proxy_cache and slice module. The relevant
nginx.conf settings are:


> slice 1m;
> proxy_cache_lock on;
> proxy_cache_key $uri$is_args$args$slice_range;
> proxy_set_header Range $slice_range;
> proxy_set_header Connection "";

I have tried debugging this with tcpdump and curl, and I dont see that
upstream (also nginx) is
not true to content-length header.

I have also tried playing aroung with buffering, but no success. Has
anyone else experienced
similar issues?

-- 
Bj(/)rnar

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to