search for: max_listen_socket

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

Did you mean: max_listen_sockets
2005 Jul 20
4
relaying IceCast from ShoutCast
This is killing me... I've tried everything I can think of, but Icecast still crashes if I define more than 10 listen-socket ports. Is there a limit that's not documented or is this a bug? I'm using the latest Windows build that OddSock compiled. Thanks for any help/ideas Fred -----Original Message----- From: Fred Black [mailto:fred@batanga.com] Sent: Tuesday, July 19, 2005
2005 Jul 20
0
relaying IceCast from ShoutCast
...is killing me... > I've tried everything I can think of, but Icecast still crashes if I define > more than 10 listen-socket ports. Is there a limit that's not documented or > is this a bug? I'm using the latest Windows build that OddSock compiled. It's a hardcoded limit (MAX_LISTEN_SOCKETS in the source) which is easily changed. However, could you please file a bug report (http://bugs.xiph.org) about the crash? It should just be refusing to read any further listen-socket definitions, rather than crashing. Mike
2005 Jul 20
1
relaying IceCast from ShoutCast
...umented or > > is this a bug? I'm using the latest Windows build that OddSock compiled. > > > > Thanks for any help/ideas > > There is a fixed compile limit of 10 listen sockets, but obviously > icecast should not crash so there is a bug somewhere > > #define MAX_LISTEN_SOCKETS 10 > > That can be increased but that would need recompiling, what would be a > reasonable limit and do you need so many ports to listen on? In fact, it could fairly easily be made dynamic, rather than having this sort of static limit. The bug is pretty obvious, see _parse_listen_socket...
2005 Jul 20
0
relaying IceCast from ShoutCast
...killing me... > I've tried everything I can think of, but Icecast still crashes if I > define more than 10 listen-socket ports. Is there a limit that's not > documented or is this a bug? I'm using the latest Windows build that OddSock compiled. It's a hardcoded limit (MAX_LISTEN_SOCKETS in the source) which is easily changed. However, could you please file a bug report (http://bugs.xiph.org) about the crash? It should just be refusing to read any further listen-socket definitions, rather than crashing. Mike
2004 Aug 06
0
[PATCH] IceCast2 - socket-based default mount
...: libiceavl_la-avl.o Only in IceCast/src: client.o diff -ur icecast/src/config.c IceCast/src/config.c --- icecast/src/config.c 2003-03-14 21:10:17.000000000 -0500 +++ IceCast/src/config.c 2003-04-18 10:15:44.000000000 -0400 @@ -127,6 +127,7 @@ xmlFree(c->error_log); for(i=0; i < MAX_LISTEN_SOCKETS; i++) { if (c->listeners[i].bind_address) xmlFree(c->listeners[i].bind_address); + if (c->listeners[i].default_mount) xmlFree(c->listeners[i].default_mount); } if (c->master_server) xmlFree(c->master_server); if (c->master_password) xmlFree(c-&gt...
2004 Aug 06
0
[RFC] RTP support
...ementation right now. Regards, Samuel Thibault --- icecast2-1.9+2.0alphasnap2+20030802.orig/src/cfgfile.h +++ icecast2-1.9+2.0alphasnap2+20030802/src/cfgfile.h @@ -82,6 +82,9 @@ char *hostname; int port; + int rtp_port; + int rtp_ttl; + int rtp_ip; listener_t listeners[MAX_LISTEN_SOCKETS]; --- icecast2-1.9+2.0alphasnap2+20030802.orig/src/cfgfile.c +++ icecast2-1.9+2.0alphasnap2+20030802/src/cfgfile.c @@ -282,6 +282,9 @@ configuration->dir_list = NULL; configuration->hostname = CONFIG_DEFAULT_HOSTNAME; configuration->port = 0; + configuration->rtp_po...
2004 Aug 06
1
[PATCH] IceCast2 - aliasing (reimplementation of the patch I posted earlier)
...har *host; int port; + int i; + char *serverhost; + int serverport; + aliases *alias; ice_config_t *config; int client_limit; @@ -655,6 +660,14 @@ fileserve = config->fileserve; host = config->hostname; port = config->port; + for(i = 0; i < MAX_LISTEN_SOCKETS; i++) { + if(global.serversock[i] == con->serversock) { + serverhost = config->listeners[i].bind_address; + serverport = config->listeners[i].port; + break; + } + } + alias = config->aliases; client_limit = config->client_lim...