]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-h1: Do h2 upgrade only on the first request
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 25 Sep 2019 07:10:46 +0000 (09:10 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 26 Sep 2019 14:51:02 +0000 (16:51 +0200)
commiteec96b5381c9508686035842e5886c6cd9d64fa2
treed602de1b35dbccc74805332c9bc8265b955ce86e
parent5112a603d9507cac84ae544863251e814e5eb8d8
BUG/MINOR: mux-h1: Do h2 upgrade only on the first request

When a request is received, if the h2 preface is matched, an implicit upgrade
from h1 to h2 is performed. This must only be done for the first request on a
connection. But a test was missing to unsure it is really the first request.

This patch must be backported to 2.0.
src/mux_h1.c