commit | 6d695e6314ffcf96ebd493d38835b9bd4db90f71 | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <tfournier@arpalert.org> | Sun Sep 27 19:29:38 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Sep 27 21:50:26 2015 +0200 |
tree | ff5842824b636a0b700319d5e6cb0e2d60a736d5 | |
parent | 8c8fbbe10343bf0053198726523df65d8f4029bf [diff] |
BUG/MEDIUM: lua: socket destroy before reading pending data When the channel is down, the applet is waked up. Before this patch, the applet closes the stream and the unread data are discarded. After this patch, the stream is not closed except if the buffers are empty. It will be closed later by the close function, or by the garbage collector.