1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2025-02-02 15:07:36 -05:00

sock_active() is broken and can not be used

svn path=/icecast/trunk/icecast/; revision=19372
This commit is contained in:
Philipp Schafft 2014-11-30 18:17:10 +00:00
parent dae5e45a25
commit 35723bed54

View File

@ -181,13 +181,16 @@ static void auth_client_free (auth_client *auth_user)
/* verify that the listener is still connected. */
static int is_client_connected (client_t *client)
{
static int is_client_connected (client_t *client) {
/* As long as sock_active() is broken we need to disable this:
int ret = 1;
if (client)
if (sock_active(client->con->sock) == 0)
ret = 0;
return ret;
*/
return 1;
}
static auth_result auth_new_client (auth_t *auth, auth_client *auth_user) {