Welcome! Log In Create A New Profile

Advanced

Re: http2 request log in accurate $request_time ?

Maxim Dounin
January 22, 2020 12:46PM
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
> immediately, which will result $request_time larger then real request time?

If stream->queued is true, this means that there are unsent frames
in the stream, and the request is not yet complete. As such,
queue "larger" $request_time is correct, as it is expected to
account sending the response to client as well.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

http2 request log in accurate $request_time ?

xt3627216 January 22, 2020 10:38AM

Re: http2 request log in accurate $request_time ?

xt3627216 January 22, 2020 10:41AM

Re: http2 request log in accurate $request_time ?

J.R. January 22, 2020 11:00AM

Re: http2 request log in accurate $request_time ?

Maxim Dounin January 22, 2020 12:46PM

Re: http2 request log in accurate $request_time ?

xt3627216 January 23, 2020 01:37AM

Re: http2 request log in accurate $request_time ?

Maxim Dounin January 23, 2020 07:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 75
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready