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: [email protected]



> On Mar 17, 2015, at 1:57 PM, Anatoli Marinov <[email protected]> wrote:
> 
> r->connection->sent ?
> 
> 
> On Tue, Mar 17, 2015 at 8:56 AM, [email protected] 
> <mailto:[email protected]> <[email protected] 
> <mailto:[email protected]>> 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: [email protected] <mailto:[email protected]>
> 
> 
> 
> > On Feb 13, 2015, at 8:15 PM, Maxim Dounin <[email protected] 
> > <mailto:[email protected]>> wrote:
> >
> > Hello!
> >
> > On Fri, Feb 13, 2015 at 09:49:08AM +0700, [email protected] 
> > <mailto:[email protected]> 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
> > [email protected] <mailto:[email protected]>
> > http://mailman.nginx.org/mailman/listinfo/nginx-devel 
> > <http://mailman.nginx.org/mailman/listinfo/nginx-devel>
> 
> _______________________________________________
> nginx-devel mailing list
> [email protected] <mailto:[email protected]>
> http://mailman.nginx.org/mailman/listinfo/nginx-devel 
> <http://mailman.nginx.org/mailman/listinfo/nginx-devel>
> _______________________________________________
> nginx-devel mailing list
> [email protected]
> http://mailman.nginx.org/mailman/listinfo/nginx-devel

_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to