From ab8e36bd19af5adc159af91f018920b820756e5a Mon Sep 17 00:00:00 2001 From: Karl Heyes Date: Tue, 16 Aug 2005 14:58:33 +0000 Subject: [PATCH] increase the number of listening sockets allowed. A more flexible scheme can be done later if required svn path=/icecast/trunk/icecast/; revision=9757 --- doc/icecast2_config_file.html | 6 +++++- src/global.h | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/icecast2_config_file.html b/doc/icecast2_config_file.html index 909d2f66..a02a7fa1 100644 --- a/doc/icecast2_config_file.html +++ b/doc/icecast2_config_file.html @@ -173,7 +173,11 @@ The URL which icecast2 uses to communicate with the Directory server. The value <fileserve>1</fileserve> <shoutcast-mount>/live.nsv</shoutcast-mount> -

This section contains miscellaneous server settings. Note that multiple listen-socket sections may be configured in order to have icecast2 listen on multiple network interfaces. If a bind-address is not specified for a particular listen-socket, then the socket will be bound to all interfaces. Generally, you won't need to set bind-address. +

This section contains miscellaneous server settings. Note that multiple listen-socket +sections may be configured in order to have icecast2 listen on multiple network interfaces. +If a bind-address is not specified for a particular listen-socket, then the socket will be +bound to all interfaces. Generally, you won't need to set bind-address. There is an internal +limit of 20 listening sockets currently, which may be extended in later releases.

port

diff --git a/src/global.h b/src/global.h index e646b0f7..cf2aa51b 100644 --- a/src/global.h +++ b/src/global.h @@ -20,7 +20,7 @@ #define ICECAST_VERSION_STRING "Icecast " PACKAGE_VERSION -#define MAX_LISTEN_SOCKETS 10 +#define MAX_LISTEN_SOCKETS 20 #include "thread/thread.h" #include "slave.h"