Previously, only HTTP2 used huffman encoding (gRPC is util now
HTTP2 based), as HTTP3 becomes available, both of them uses huffman
encoding. But existed debug log in huffman decode function is hard
coded using "http2" prefixes, if a client transports an incorrect
huffman encoded field value in an HTTP3 request, it will give an
erroneous log. With the patch, it will properly log a bad field value.
Alternatively, removing "http2" prefixes only is ok, but it can not
differentiate whether it is caused by an HTTP2 or an HTTP3 request.

Attachment: huff_decode_debug.diff
Description: Binary data

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to