# HG changeset patch # User jbe # Date 1474142915 -7200 # Node ID a22a6c19457fbb677bcb009e611be15ca084fe03 # Parent cda7988daafee6fde335067a3000cecf5c10dbf5 Bugfix: Switch SO_LINGER off also when data is to be flushed on close diff -r cda7988daafe -r a22a6c19457f moonbridge_io.c --- a/moonbridge_io.c Sat Sep 17 21:07:24 2016 +0200 +++ b/moonbridge_io.c Sat Sep 17 22:08:35 2016 +0200 @@ -813,8 +813,8 @@ } } else { handle->closed = 1; - moonbr_io_handle_set_linger(L, handle, -1); } + moonbr_io_handle_set_linger(L, handle, -1); } else { handle->closed = 1; }