Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] HTTP/2: add debug logging of control frames

Valentin V. Bartenev
April 17, 2017 02:58PM
On Friday 07 April 2017 14:42:07 Piotr Sikora via nginx-devel wrote:
> Hey Valentin,
>
> > You can always find these values in configuration, and I can't remember a case where
> > I've ever needed them. On the contrary, there's always a problem with the huge size
> > of typical http/2 debug log. So it's not a good idea to add something just because
> > we can.
>
> As someone who spent the last few days debugging HTTP/2
> interoperability issues, looking at those debug logs, I strongly
> disagree.
>
> Also, NGINX's HTTP/2 debug log is really nice (other than the lack of
> "recv" prefix [1]) and can be used as a transcript of HTTP/2 exchange,
> which can be shared with people that don't use NGINX, in which case
> having SETTINGS values there is critical.

I actually agree with that, but let's try to reduce the size of printing.

http2 send SETTINGS frame MAX_CONCURRENT_STREAMS
http2 send SETTINGS frame INITIAL_WINDOW_SIZE
http2 send SETTINGS frame MAX_FRAME_SIZE

This looks like too verbose for just one SETTINGS frame. Also, literally
reading these lines can be misinterpreted as sending multiple SETTINGS
frames.


>
> Actually, I have local patch that adds even more debugging for
> SETTINGS frame (I'll squash it into this one and send to the mailing
> list shortly).
>
> [1] btw: Would you accept patch that adds "recv" prefix to all
> received frames? This would allow for easy "http2 send|http2 recv"
> grep for HTTP/2 transcript, and would align frame recv/send messages.
>

Sounds good.

wbr, Valentin V. Bartenev

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] HTTP/2: add debug logging of control frames

Piotr Sikora via nginx-devel 591 April 03, 2017 11:14PM

Re: [PATCH] HTTP/2: add debug logging of control frames

Valentin V. Bartenev 305 April 06, 2017 10:32AM

Re: [PATCH] HTTP/2: add debug logging of control frames

Piotr Sikora via nginx-devel 253 April 07, 2017 05:44PM

Re: [PATCH] HTTP/2: add debug logging of control frames

Valentin V. Bartenev 283 April 17, 2017 02:58PM

Re: [PATCH] HTTP/2: add debug logging of control frames

Piotr Sikora via nginx-devel 284 April 24, 2017 07:04PM

Re: [PATCH] HTTP/2: add debug logging of control frames

Piotr Sikora via nginx-devel 328 May 30, 2017 05:22PM

Re: [PATCH] HTTP/2: add debug logging of control frames

Valentin V. Bartenev 214 June 08, 2017 02:32PM

Re: [PATCH] HTTP/2: add debug logging of control frames

Piotr Sikora via nginx-devel 240 June 19, 2017 10:30AM

[PATCH] HTTP/2: add debug logging of control frames

Piotr Sikora via nginx-devel 240 June 19, 2017 10:30AM

[PATCH] HTTP/2: add debug logging of control frames

Piotr Sikora via nginx-devel 403 April 07, 2017 06:10PM



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

Online Users

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