From 913092779871fdf4f4fc3e56922425a40e85613b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net> Date: Sat, 30 Nov 2024 22:43:58 -0500 Subject: [PATCH] Since this is after client_on() is called now, use > not >= --- src/sbbs3/websrvr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbbs3/websrvr.c b/src/sbbs3/websrvr.c index a412fb336f..e5e7d48af2 100644 --- a/src/sbbs3/websrvr.c +++ b/src/sbbs3/websrvr.c @@ -6807,7 +6807,7 @@ void http_session_thread(void* arg) if(startup->max_concurrent_connections > 0) { int ip_len = strlen(session.host_ip) + 1; uint connections = listCountMatches(¤t_connections, session.host_ip, ip_len); - if(connections >= startup->max_concurrent_connections + if(connections > startup->max_concurrent_connections && !is_host_exempt(&scfg, session.host_ip, /* host_name */NULL)) { lprintf(LOG_NOTICE, "%04d [%s] !Maximum concurrent connections (%u) exceeded" ,socket, session.host_ip, startup->max_concurrent_connections); -- GitLab