[icecast-dev] redundant code ?

Mihai RUSU dizzy at roedu.net
Wed Feb 11 07:36:11 PST 2004



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

Hi

In connection.c arround line 847 icecast2 does:
    if (global.clients >= client_limit) {
        client_send_504(client,
                "The server is already full. Try again later.");
        global_unlock();
        return;
    }

Then just a little bit later, does the same thing in the if (source) {} 
block.

Is this code redundant ?

- -- 
Mihai RUSU                                    Email: dizzy at roedu.net
GPG : http://dizzy.roedu.net/dizzy-gpg.txt    WWW: http://dizzy.roedu.net
                       "Linux is obsolete" -- AST
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAKkvsPZzOzrZY/1QRAv2fAJ4/xcjHVC+c2J6nJHd4E8mtTJ9XeACcDW4e
k+izMkkYqK1FLuU2f5KS8N8=
=7a/D
-----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