Re: http2 request log in accurate $request_time ?

2020-01-22 Thread xt3627216
Maxim Dounin Wrote: --- > Hello! > > On Wed, Jan 22, 2020 at 10:38:42AM -0500, xt3627216 wrote: > > [...] > > > if stream->queued is true, then ngx_http_free_request will not > be called > > immediat

Re: http2 request log in accurate $request_time ?

2020-01-22 Thread xt3627216
In our production env, I found that $request_time is very large under http2 protocol. by the way, some requests, not every one. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,286797,286798#msg-286798 ___ nginx mailing list nginx@ng

http2 request log in accurate $request_time ?

2020-01-22 Thread xt3627216
nginx version: nginx-1.9.5 hi,nginx compute $request_time in log phase, which is in ngx_http_free_request (r) -> ngx_http_log_request(r) -> log_handler(r) but in http2 world, I see every request closed through ngx_http_v2_close_stream(stream, rc) in ngx_http_v2_close_streamhave c