Hello, 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.
-- Hưng Email: hun...@opensource.com.vn > On Mar 17, 2015, at 1:57 PM, Anatoli Marinov <a.mari...@ucdn.com> wrote: > > r->connection->sent ? > > > On Tue, Mar 17, 2015 at 8:56 AM, hun...@opensource.com.vn > <mailto:hun...@opensource.com.vn> <hun...@opensource.com.vn > <mailto:hun...@opensource.com.vn>> wrote: > Hello, > > No, it means that a server don't know how many bytes a client > > actually recieved. > > So can we know how many bytes server actually sent (write to the socket)? > > Thanks. > > — > > Hưng > Email: hun...@opensource.com.vn <mailto:hun...@opensource.com.vn> > > > > > On Feb 13, 2015, at 8:15 PM, Maxim Dounin <mdou...@mdounin.ru > > <mailto:mdou...@mdounin.ru>> wrote: > > > > Hello! > > > > On Fri, Feb 13, 2015 at 09:49:08AM +0700, hun...@opensource.com.vn > > <mailto:hun...@opensource.com.vn> wrote: > > > >> Well, this means there’s another parameter in log module which > >> actually log number of bytes client received (other than > >> $body_bytes_sent or $bytes_sent). ? > > > > No, it means that a server don't know how many bytes a client > > actually recieved. > > > > -- > > Maxim Dounin > > http://nginx.org/ <http://nginx.org/> > > > > _______________________________________________ > > nginx-devel mailing list > > nginx-devel@nginx.org <mailto:nginx-devel@nginx.org> > > http://mailman.nginx.org/mailman/listinfo/nginx-devel > > <http://mailman.nginx.org/mailman/listinfo/nginx-devel> > > _______________________________________________ > nginx-devel mailing list > nginx-devel@nginx.org <mailto:nginx-devel@nginx.org> > http://mailman.nginx.org/mailman/listinfo/nginx-devel > <http://mailman.nginx.org/mailman/listinfo/nginx-devel> > _______________________________________________ > nginx-devel mailing list > nginx-devel@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-devel
_______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel