[icecast-dev] PATCH: increase network congestion resilience (SOLVED!)

Ricardo Galli gallir at uib.es
Sat Jan 18 04:06:12 PST 2003



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 18 January 2003 03:38, Michael Smith shaped the electrons to 
shout:
> > 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

Goddam!!!! 

There were bugs in icecast2 while checking for recoverable error (in 
several places indeed).

The program was checking for sock_recoverable() with the return value of 
send(), which is a mistake and confused me because I assumed it was 
right. It _must_ be done against with sock_error() instead.

Find the patch that solves the bugs.

- -- 
  ricardo galli       GPG id C8114D34
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+KUM0XZ2eFsgRTTQRAqcAAJ40f+bBRwYqjIgh+aW88Zf0zpujGACgpSj7
6Kmh/Rruuc2vyk4cJj/Nklo=
=3dxn
-----END PGP SIGNATURE-----

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