When range_end requested is past the end of the file, httpd.c emits content length larger than actual bytes in the response.
Created attachment 4172 [details] possible patch
Thanks, applied to git.