search for: source_limit

Displaying 2 results from an estimated 2 matches for "source_limit".

Did you mean: resource_limit
2004 Aug 06
0
[PATCH] Add per-listener and per-mount connection time limits.
...------- next part -------------- *** src/cfgfile.c.orig Fri Dec 12 10:23:08 2003 --- src/cfgfile.c Fri Mar 5 13:12:03 2004 *************** *** 19,24 **** --- 19,25 ---- #define CONFIG_DEFAULT_ADMIN "icemaster@localhost" #define CONFIG_DEFAULT_CLIENT_LIMIT 256 #define CONFIG_DEFAULT_SOURCE_LIMIT 16 + #define CONFIG_DEFAULT_CLIENT_TIME_LIMIT 0 #define CONFIG_DEFAULT_QUEUE_SIZE_LIMIT (100*1024) #define CONFIG_DEFAULT_THREADPOOL_SIZE 4 #define CONFIG_DEFAULT_CLIENT_TIMEOUT 30 *************** *** 276,281 **** --- 277,283 ---- configuration->admin = CONFIG_DEFAULT_ADMIN; co...
2004 Aug 06
2
improved error.log output --diff
...ccept() failed with error %d: %s", sock_error(), strerror(sock_error())); + WARN2("accept() failed with error %d: %s, %s", sock_error(), strerror(sock_error()), "-"); free(ip); @@ -415,7 +415,7 @@ */ global_lock(); if (global.sources >= source_limit) { - INFO1("Source (%s) logged in, but there are too many sources", mount); + INFO1("Source (%s) logged in, but there are too many sources, %s", mount, client->con->ip); global_unlock(); return 0; } @@ -442,7 +442,7 @@ if (contentt...