slice module and upstream sent more data than specified in "Content-Length"

MAGNIEN, Thierry thierry.magnien at sfr.com
Wed Oct 12 11:49:13 UTC 2016


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-bounces at nginx.org] De la part de Bjørnar Ness
Envoyé : mardi 11 octobre 2016 20:26
À : nginx-devel at 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 at nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel



More information about the nginx-devel mailing list