[icecast-dev] PATCH3: icecast2 hangs on close

Jack Moffitt jack at xiph.org
Fri Mar 22 13:45:00 PST 2002

> - 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.

Done and committed.


--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

More information about the Icecast-dev mailing list