commit | 594c8c5015abb0d0c0a8d41fea573a2bcd63a351 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Tue Aug 28 14:41:31 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Aug 28 16:18:34 2018 +0200 |
tree | 9277d80c0a3bb9e27884ac8e73923e5384532acb | |
parent | 155e93e570f35196b6ad43e2f7798d1b5d3a2c04 [diff] |
BUG/MEDIUM: hlua: Make sure we drain the output buffer when done. In hlua_applet_tcp_fct(), drain the output buffer when the applet is done running, every time we're called. Overwise, there's a race condition, and the output buffer could be filled after the applet ran, and as it is never cleared, the stream interface will never be destroyed. This should be backported to 1.8 and 1.7.