commit | 30db3d737be7a285acbe858d9767538c9e1f6682 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri May 17 15:35:33 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue May 28 07:42:12 2019 +0200 |
tree | f7388874ae8b1abce1dc385bb50568bb11026569 | |
parent | 156852b613596bdbf8fb67edc6e736d496c89a92 [diff] |
MEDIUM: mux-h1: Use the count value received from the SI in h1_rcv_buf() Now, the SI calls h1_rcv_buf() with the right count value. So we can rely on it. During the parsing, we now really respect this value to be sure to never exceed it. To do so, once headers are parsed, we should estimate the size of the HTX message before copying data.