Hi,<br><br><div class="gmail_quote">On Wed, May 16, 2012 at 9:40 PM, mengqy <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us" target="_blank">nginx-forum@nginx.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
We've been running nginx 1.1.18, 1.1.19, 1.2.0, with both HTTP/HTTPS<br>
enabled. Our static files are loaded from nginx root, but since 1.1.18<br>
$request_time of static files some times gets 10+ seconds, recardless<br>
the actual file size. Various optimizing were tried with little gain,<br>
and the problem seems irrelavent to browsers as of access log. With<br>
1.2.0 we just noticed that access log shows file truncating with HTTP<br>
status code 200.  Looking forward to your help, thank you.<br></blockquote><div><br></div><div>Why do you think the file was truncated by Nginx? There're other reasons which might cause <span class="Apple-style-span" style>$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.</span></div>
</div><div><br></div><div>Regards,</div><div><br></div>-- <br>Joshua Zhu<br>Senior Software Engineer<br>Server Platforms Team at Taobao<br>