mirror of
https://github.com/yrutschle/sslh.git
synced 2026-10-22 18:12:10 +03:00
count listen endpoint connections for forked protocols
This commit is contained in:
1 parent
860631f910
commit
3817f2d728
5 files changed
+26
-19
No files matched your search
@@ -620,7 +620,7 @@ int inc_proto_connections(struct sslhcfg_protocols_item* proto)
|
||||
proto->num_connections,
|
||||
proto->max_connections);
|
||||
if (proto->num_connections > proto->max_connections) {
|
||||
print_message(msg_connections_error, "%s: too many connections, dropping", proto->name);
|
||||
print_message(msg_connections_error, "%s: too many connections, dropping\n", proto->name);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user