Welcome! Log In Create A New Profile

Advanced

RE: time to read packets for HTTP query

Lukas Tribus
September 11, 2015 08:16AM
> Does not seem to do what the GP asked, from the docs:
>
> $request_time
> request processing time in seconds with a milliseconds resolution
> (1.3.9, 1.2.6); time elapsed since the first bytes were read from the client

"request time" would imply the time (with our without parsing) of the
actual HTTTP request, imho.

In reality $request_time accounts for the complete request, response and
logging, so yes, you are right.


This is clearer in [1] then it is in [2]:
> between the first bytes were read from the client and
> *the log write after the last bytes were sent to the client*


Lukas


[1] http://nginx.org/en/docs/http/ngx_http_log_module.html#log_format
[2] http://nginx.org/en/docs/http/ngx_http_core_module.html#var_request_time
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

time to read packets for HTTP query

SimonHF September 10, 2015 06:49PM

RE: time to read packets for HTTP query

Lukas Tribus September 11, 2015 05:22AM

Re: time to read packets for HTTP query

Frederik Nosi September 11, 2015 07:18AM

RE: time to read packets for HTTP query

Lukas Tribus September 11, 2015 08:16AM

Re: time to read packets for HTTP query

Maxim Dounin September 11, 2015 08:54AM

Re: time to read packets for HTTP query

Frederik Nosi September 11, 2015 09:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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