commit | 842f41f54eff719551338cb9a30bdce099f36d28 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Sep 25 09:10:46 2019 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Sep 27 11:56:53 2019 +0200 |
tree | cba02befef9f58d9bb712f1bb2d8f4933ef4bc1f | |
parent | e12a26f6b4f7d0f2cf49b24eeb2c5cb8218cc974 [diff] |
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. (cherry picked from commit eec96b5381c9508686035842e5886c6cd9d64fa2) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>