search for: client_tree

Displaying 7 results from an estimated 7 matches for "client_tree".

Did you mean: client_free
2004 Aug 06
2
ICECAST enseirb group
...interval) > > { > > thread_sleep(1000000 * (max_interval - interval)); > > } > > else > > ... > > > > ---------------------------------------- > > > > In fserv_thread_function() function in fserve.c file, can > > avl_tree_unlock(client_tree); be made just after client_node = > > avl_get_first(client_tree); instead of being done at the end or in the > > if(!client_node) { .... } block ? Are we wrong ? If yes, why ? > > > > ---------------------------------------- > > > > In fserv_thread_function() fu...
2004 Aug 06
4
No Duplicate Users - Patch
...=================== --- src/auth.c (revision 6619) +++ src/auth.c (working copy) @@ -34,6 +34,30 @@ #define CATMODULE "auth" <p>+int auth_is_listener_connected(source_t *source, char *username) +{ + client_t *client; + avl_node *client_node; + + avl_tree_rlock(source->client_tree); + + client_node = avl_get_first(source->client_tree); + while(client_node) { + client = (client_t *)client_node->key; + if (client->username) { + if (!strcmp(client->username, username)) { + avl_tree_unlock(source->client_tree); +...
2004 Aug 06
2
Stream metadata settings
...Mon Dec 1 09:14:34 2003 > @@ -139,7 +192,6 @@ > #endif > > free(source->mount); > - free(source->fallback_mount); > client_destroy(source->client); > avl_tree_free(source->pending_tree, _free_client); > avl_tree_free(source->client_tree, _free_client); > > > This is the patch and without it, anything using fallbacks will fail > miserably. It is the prerequisite for almost all other patches, because > this bug is a showstopper. Unless and until this patch is applied, all the > others are useless. Just to let...
2004 Aug 06
7
Stream metadata settings
> IMHO, a system like Icecast should be made so highly configurable that it > would fit everyone's needs, but I get the impression that only the needs of > the principal developers are of interest here. It makes me sad to see this, > Icecast could be great instead of just being good. > Melanie, As one of the 'principal developers', I don't think this is fair. Of
2004 Aug 06
0
[RFC] RTP support
...IZE, refbuf->data+rtp_done, rtp_amount); + write(rtp_socket, rtp_buf, RTP_HDR_SIZE+RTP_MPEG_HDR_SIZE+rtp_amount); + *(unsigned short*)(rtp_buf+2)= + htons(ntohs(*(unsigned short*)(rtp_buf+2))+1); + } + } + /* acquire read lock on client_tree */ avl_tree_rlock(source->client_tree); --- >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@xiph.org' containing only the word 'unsubscribe'...
2004 Aug 06
0
Stream metadata settings
...Nov 14 17:51:59 2003 +++ ./src/source.c Mon Dec 1 09:14:34 2003 @@ -139,7 +192,6 @@ #endif free(source->mount); - free(source->fallback_mount); client_destroy(source->client); avl_tree_free(source->pending_tree, _free_client); avl_tree_free(source->client_tree, _free_client); <p>This is the patch and without it, anything using fallbacks will fail miserably. It is the prerequisite for almost all other patches, because this bug is a showstopper. Unless and until this patch is applied, all the others are useless. Melanie --- >8 ---- List archi...
2004 Aug 06
0
Stream metadata settings
...@@ -139,7 +192,6 @@ > > #endif > > > > free(source->mount); > > - free(source->fallback_mount); > > client_destroy(source->client); > > avl_tree_free(source->pending_tree, _free_client); > > avl_tree_free(source->client_tree, _free_client); > > > > > > This is the patch and without it, anything using fallbacks will fail > > miserably. It is the prerequisite for almost all other patches, because > > this bug is a showstopper. Unless and until this patch is applied, all > the > > ot...