mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Update: Made global client limit warning easier to understand
This commit is contained in:
parent
52634884ac
commit
7e9bc9005c
@ -148,7 +148,7 @@ int client_create(client_t **c_ptr, connection_t *con, http_parser_t *parser)
|
|||||||
|
|
||||||
global.clients++;
|
global.clients++;
|
||||||
if (config->client_limit < global.clients) {
|
if (config->client_limit < global.clients) {
|
||||||
ICECAST_LOG_WARN("server client limit reached (%d/%d)", config->client_limit, global.clients);
|
ICECAST_LOG_WARN("Server's configured global client limit reached (%d of %d), rejecting client", global.clients, config->client_limit);
|
||||||
} else {
|
} else {
|
||||||
ret = 0;
|
ret = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user