Re: HTTP version log format for http2

2019-01-16 Thread Amin Shayan
Hi Willy, Thanks for the workaround and explanation. Works as expected. Sincerely, Amin Shayan On Wed, Jan 16, 2019 at 6:15 PM Willy Tarreau wrote: > Hi Amin, > > On Mon, Dec 31, 2018 at 05:23:17PM +0100, Amin Shayan wrote: > > Hi guys, > > > > I'm trying to get clients request http version

Re: HTTP version log format for http2

2019-01-16 Thread Willy Tarreau
Hi Amin, On Mon, Dec 31, 2018 at 05:23:17PM +0100, Amin Shayan wrote: > Hi guys, > > I'm trying to get clients request http version and it seems %HV which is > the last field of %r works fine for http/0.9,1.0,1.1. However I get > http/1.1 on logs for http2 requests. > > Using HAProxy 1.8.16, Is

HTTP version log format for http2

2018-12-31 Thread Amin Shayan
Hi guys, I'm trying to get clients request http version and it seems %HV which is the last field of %r works fine for http/0.9,1.0,1.1. However I get http/1.1 on logs for http2 requests. Using HAProxy 1.8.16, Is there still below limitation? - no trivial way to report HTTP/2 in the logs. I'm