case, after all.
server is full. Affected files are silcd/server.c,
server_internal.h and silcd.c.
+ * Clarified the connections_max meaning in General section
+ in doc/example_silcd.conf.in.
+
Wed Mar 3 15:13:49 CET 2004 Pekka Riikonen <priikone@silcnet.org>
* Fixed crashbug in connection closing, after a protocol
}
/* Check for maximum allowed connections */
- if (server->stat.conn_num > server->config->param.connections_max) {
+ if (sock > server->config->param.connections_max) {
SILC_LOG_ERROR(("Refusing connection, server is full"));
server->stat.conn_failures++;
silc_net_close_connection(sock);
# without FQDN cannot connect to the server.
#require_reverse_lookup = true;
- # Maximum number of incoming connections allowed to this server.
- # If more attempt to connect they will be refused.
+ # Maximum number of connections server can handle. If you want
+ # to limit the number of incoming connections, define the
+ # connections_max in the ConnectionParams.
connections_max = 1000;
# Maximum number of incoming connections allowed per single host.