Welcome! Log In Create A New Profile

Advanced

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

Bjørnar Ness
October 11, 2016 02:28PM
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
Subject Author Views Posted

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

Bjørnar Ness 419 October 11, 2016 02:28PM

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

MAGNIEN, Thierry 200 October 12, 2016 07:50AM

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

Roman Arutyunyan 247 October 12, 2016 08:12AM

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

Bjørnar Ness 208 October 12, 2016 09:50AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 109
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready