Created attachment 39858 [details] Unit test and fix Hi, when logging an http2 request with trailers, headers get cleaned and replaced by the trailers, resulting in wrong access logs. Attached the patch with test case and potential fix. Let me know what you think. Thanks
Thanks for the report and the test case. It makes it so much easier for us to work with and is very much appreciated. It is taking a little longer than expected to look at this as there is a timing issue. I think I have tracked it down to the test case (I thought initially it was in Tomcat's header handling). I need to write and test a fix. Hopefully later today.
Fixed in: - 11.0.x for 11.0.0-M25 onwards - 10.1.x for 10.1.29 onwards - 9.0.x for 9.0.94 onwards