Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] Added $http2_stream_id

Maxim Dounin
May 14, 2023 10:42AM
Hello!

On Fri, May 12, 2023 at 03:37:52AM +0100, J Carter wrote:

> # HG changeset patch
> # User jordanc.carter@outlook.com
> # Date 1683858766 -3600
> # Fri May 12 03:32:46 2023 +0100
> # Node ID de1a1b4141e827984cbd0d2feb97f870c32ff289
> # Parent b71e69247483631bd8fc79a47cc32b762625b1fb
> Added $http2_stream_id
>
> Useful for tracing multiplexed requests from client logs or pcaps
> captured between client and nginx, to nginx's own access logs.
>
> Also useful for matching multiplexed request's access log entries to
> debug level error logs - which is particularly difficult to do.

Thanks for the patch, but I would rather not.

Consider using $connection_requests variable to identify
individual requests within a connection, or the $request_id
variable to identify requests globally. These do no depend on the
particular protocol used and can be universally used for both
HTTP/1.x and HTTP/2.

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

[PATCH] Added $http2_stream_id

J Carter 429 May 11, 2023 10:40PM

Re: [PATCH] Added $http2_stream_id

Maxim Dounin 155 May 14, 2023 10:42AM

Re: [PATCH] Added $http2_stream_id

J Carter 133 May 14, 2023 01:50PM

Re: [PATCH] Added $http2_stream_id

J Carter 109 May 14, 2023 07:00PM

Re: [PATCH] Added $http2_stream_id

Maxim Dounin 139 May 21, 2023 05:42PM

Re: [PATCH] Added $http2_stream_id

J Carter 134 May 28, 2023 12:44AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

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