[icecast-dev] PATCH: increase network congestion resilience
Michael Smith
msmith at xiph.org
Fri Jan 17 18:38:29 PST 2003
On Friday 17 January 2003 23:29, Ricardo Galli wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
> find a patch which is an update to a patch sent months ago. Before it was
> in net/sock.c, now I moved it to format.c, so net CVS module is not
> affected. It polls the socket before trying to send() any byte to check
> if the TCP buffers are full due to network congestion.
Why? This should be no different from doing the send() (and handling it
failing correctly, which I think we do), except you're throwing in lots more
syscalls, thus lowering efficiency.
Calling send will not, in itself, cause client disconnections just because it
couldn't send anything.
Mike
--- >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