commit | 7aaac6e0ee7a7c86c3d22aca0eb71cdbd17270f7 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue Jul 02 21:29:43 2019 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Jul 03 14:01:26 2019 +0200 |
tree | 91624a74fc049367decb7b5ea828241a29cfc1a8 | |
parent | 12698b7aeb8359e11e3b94a2842aa736c8196193 [diff] |
BUG/MINOR: hlua: Don't use channel_htx_recv_max() The function htx_free_data_space() must be used intead. Otherwise, if there are some output data not already forwarded, the maximum amount of data that may be inserted into the buffer may be greater than what we can really insert. This patch must be backported to 2.0 and 1.9. (cherry picked from commit 7e145b3e240b6c018016b217f0348a255ffda292) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>