commit | 19ed92b47d7cbcdbafa4e18d052b87e04903741c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Dec 11 06:42:01 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Dec 11 09:06:46 2018 +0100 |
tree | 3c7e87a38e12e57cd73368c1142453560f75c086 | |
parent | ac73ae0b83cc72eff19f2f6c26d0b55f49b2e0c3 [diff] |
MINOR: hpack: optimize header encoding for short names For unknown fields, since we know that most of them are less than 127 characters, we don't need to go through the loop and can instead directly emit the one-byte length encoding. This increases the request rate by approximately 0.5%.