commit | ac73ae0b83cc72eff19f2f6c26d0b55f49b2e0c3 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Dec 11 06:27:06 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Dec 11 09:06:46 2018 +0100 |
tree | 2614ef192d3ecd57a93213ecbda155dd3b84b500 | |
parent | 1526f1942c1c67cb6c1b82750dbb2e3374b4792f [diff] |
MINOR: hpack: use ist2bin() to copy header names in hpack_encode_header() memcpy() tends to be overkill to copy short strings, better use ist's naive functions for this. This shows a consistent 1.2% performance gain with h2load.