search for: no_linger

Displaying 1 result from an estimated 1 matches for "no_linger".

Did you mean: so_linger
2004 Aug 06
3
PATCH3: icecast2 hangs on close
...ncluded in the patch (just touches sock.c and sock.h): - Due to the semantics of the close() function, the server hangs on close() if a client just dies (the machine just "dissapear" from the network) and there is still data to send in the TCP buffers. This is avoided specifying "NO_LINGER" in the socket, which means that the socket will be closed in background. - Added KEEPALIVE to avoid sucky clients. I've checked icecast1 and squid (both are rock solid) and they include those two options. I replicated them... Regards, -- ricardo "I just stopped using Window...