BUG/MINOR: mux-h2: do not emit logs on backend connections
authorWilly Tarreau <w@1wt.eu>
Wed, 23 Oct 2019 09:06:35 +0000 (11:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Oct 2019 09:12:22 +0000 (11:12 +0200)
commit9364a5fda33a2f591d5e2640249a54af8955fb8b
tree31019dd5ec4a20d50244359171123a443cecdfd8
parent403bfbb130f9fb31e52d441ebc1f8227f6883c22
BUG/MINOR: mux-h2: do not emit logs on backend connections

The logs were added to the H2 mux so that we can report logs in case
of errors that prevent a stream from being created, but as a side effect
these logs are emitted twice for backend connections: once by the H2 mux
itself and another time by the upper layer stream. It can even happen
more with connection retries.

This patch makes sure we do not emit logs for backend connections.

It should be backported to 2.0 and 1.9.
src/mux_h2.c