moonbridge
changeset 255:a22a6c19457f
Bugfix: Switch SO_LINGER off also when data is to be flushed on close
author | jbe |
---|---|
date | Sat Sep 17 22:08:35 2016 +0200 (2016-09-17) |
parents | cda7988daafe |
children | ff7eea59be93 |
files | moonbridge_io.c |
line diff
1.1 --- a/moonbridge_io.c Sat Sep 17 21:07:24 2016 +0200 1.2 +++ b/moonbridge_io.c Sat Sep 17 22:08:35 2016 +0200 1.3 @@ -813,8 +813,8 @@ 1.4 } 1.5 } else { 1.6 handle->closed = 1; 1.7 - moonbr_io_handle_set_linger(L, handle, -1); 1.8 } 1.9 + moonbr_io_handle_set_linger(L, handle, -1); 1.10 } else { 1.11 handle->closed = 1; 1.12 }