commit | ac77b6f4411aa9438693f80ead8fd183f339dba7 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Dec 10 11:08:04 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Dec 10 11:08:04 2018 +0100 |
tree | 8d0ea29c9ff92d26e2776cab28279ecdaaa190e2 | |
parent | b36a6d21db63dcdaf479939a5ff862cf71795175 [diff] |
BUG/MEDIUM: mux-h2: fix encoding of non-GET/POST methods Jerome reported that outgoing H2 failed for methods different from GET or POST. It turns out that the HPACK encoding is performed by hand in the outgoing headers encoding function and that the data length was not incremented to cover the literal method value, resulting in a corrupted HEADERS frame. Admittedly this code should move to the generic HPACK code. No backport is needed.