<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello,<div class=""><br class=""></div><div class="">No, it’s not. If you take a look at ngx_http_log_module.c, r->connection->sent is use by function ngx_http_log_bytes_sent, which is later logged as $byte_sents variable, and it’s actually file size. </div><div class=""><br class=""></div><div class=""><br class=""><div apple-content-edited="true" class="">
<div class="">--</div><div class="">Hưng</div><div class="">Email: <a href="mailto:hungnv@opensource.com.vn" class="">hungnv@opensource.com.vn</a></div><div class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Mar 17, 2015, at 1:57 PM, Anatoli Marinov <<a href="mailto:a.marinov@ucdn.com" class="">a.marinov@ucdn.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">r->connection->sent ?<br class=""><br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Mar 17, 2015 at 8:56 AM, <a href="mailto:hungnv@opensource.com.vn" class="">hungnv@opensource.com.vn</a> <span dir="ltr" class=""><<a href="mailto:hungnv@opensource.com.vn" target="_blank" class="">hungnv@opensource.com.vn</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br class="">
<span class="">> No, it means that a server don't know how many bytes a client<br class="">
> actually recieved.<br class="">
<br class="">
</span>So can we know how many bytes server actually sent (write to the socket)?<br class="">
<br class="">
Thanks.<br class="">
<br class="">
—<br class="">
<br class="">
Hưng<br class="">
Email: <a href="mailto:hungnv@opensource.com.vn" class="">hungnv@opensource.com.vn</a><br class="">
<div class="HOEnZb"><div class="h5"><br class="">
<br class="">
<br class="">
> On Feb 13, 2015, at 8:15 PM, Maxim Dounin <<a href="mailto:mdounin@mdounin.ru" class="">mdounin@mdounin.ru</a>> wrote:<br class="">
><br class="">
> Hello!<br class="">
><br class="">
> On Fri, Feb 13, 2015 at 09:49:08AM +0700, <a href="mailto:hungnv@opensource.com.vn" class="">hungnv@opensource.com.vn</a> wrote:<br class="">
><br class="">
>> Well, this means there’s another parameter in log module which<br class="">
>> actually log number of bytes client received (other than<br class="">
>> $body_bytes_sent or $bytes_sent). ?<br class="">
><br class="">
> No, it means that a server don't know how many bytes a client<br class="">
> actually recieved.<br class="">
><br class="">
> --<br class="">
> Maxim Dounin<br class="">
> <a href="http://nginx.org/" target="_blank" class="">http://nginx.org/</a><br class="">
><br class="">
> _______________________________________________<br class="">
> nginx-devel mailing list<br class="">
> <a href="mailto:nginx-devel@nginx.org" class="">nginx-devel@nginx.org</a><br class="">
> <a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" target="_blank" class="">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a><br class="">
<br class="">
_______________________________________________<br class="">
nginx-devel mailing list<br class="">
<a href="mailto:nginx-devel@nginx.org" class="">nginx-devel@nginx.org</a><br class="">
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" target="_blank" class="">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a></div></div></blockquote></div><br class=""></div>
_______________________________________________<br class="">nginx-devel mailing list<br class=""><a href="mailto:nginx-devel@nginx.org" class="">nginx-devel@nginx.org</a><br class="">http://mailman.nginx.org/mailman/listinfo/nginx-devel</div></blockquote></div><br class=""></div></body></html>