commit | 8895367fb1fd7f857a137eb8ef86f2f429879242 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Dec 10 18:04:42 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Dec 11 09:07:02 2018 +0100 |
tree | 1b430070ad0ac071f45a7f8d6289731c0df5764c | |
parent | bd5659bbe105edb7883853be7209cab663040a01 [diff] |
MINOR: hpack: provide new functions to encode the ":status" header This header exists with 7 different values, it's worth taking them into account for the encoding, hence these functions. One of them makes use of an integer only and computes the 3 output bytes in case of literal. The other one benefits from the knowledge of an existing string, which for example exists in the case of H1 to H2 encoding.