commit | e482074c96b6d6c19bacec13488ff77977670751 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jul 27 13:37:23 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 31 18:12:14 2017 +0100 |
tree | 31deb61fa76dcb4b3294b7c26c53b08e2f30d26a | |
parent | 2e43f08c60c738af1fbb4d2d1e32d5bc4036a69f [diff] |
MINOR: h2: add h2_set_frame_size() to update the size in a binary frame This function is called after preparing a frame, in order to update the frame's size in the frame header. It takes the frame payload length in argument. It simply writes a 24-bit frame size into a buffer, making use of the net_helper functions which try to optimize per platform (this is a frequently used operation).