Welcome! Log In Create A New Profile

Advanced

Re: nginx 1.2: static file truncated with HTTP status code 200

Joshua Zhu
May 16, 2012 09:52AM
Hi,

On Wed, May 16, 2012 at 9:40 PM, mengqy <nginx-forum@nginx.us> wrote:

> We've been running nginx 1.1.18, 1.1.19, 1.2.0, with both HTTP/HTTPS
> enabled. Our static files are loaded from nginx root, but since 1.1.18
> $request_time of static files some times gets 10+ seconds, recardless
> the actual file size. Various optimizing were tried with little gain,
> and the problem seems irrelavent to browsers as of access log. With
> 1.2.0 we just noticed that access log shows file truncating with HTTP
> status code 200. Looking forward to your help, thank you.
>

Why do you think the file was truncated by Nginx? There're other reasons
which might cause $body_bytes_sent less than the real size of the file. For
instance, it can be true when the client closes the connection before
downloading the file completely.

Regards,

--
Joshua Zhu
Senior Software Engineer
Server Platforms Team at Taobao
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx 1.2: static file truncated with HTTP status code 200

mengqy May 16, 2012 09:40AM

Re: nginx 1.2: static file truncated with HTTP status code 200

Joshua Zhu May 16, 2012 09:52AM

Re: nginx 1.2: static file truncated with HTTP status code 200

Maxim Dounin May 16, 2012 10:18AM

Re: nginx 1.2: static file truncated with HTTP status code 200

mengqy April 10, 2013 11:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 303
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