socket: enforce limit on number of concurrent connections
diff --git a/src/load-fragment.c b/src/load-fragment.c
index d6a35f7..b7bb4d7 100644
--- a/src/load-fragment.c
+++ b/src/load-fragment.c
@@ -1516,6 +1516,7 @@
{ "SocketMode", config_parse_mode, &u->socket.socket_mode, "Socket" },
{ "KillMode", config_parse_kill_mode, &u->socket.kill_mode, "Socket" },
{ "Accept", config_parse_bool, &u->socket.accept, "Socket" },
+ { "MaxConnections", config_parse_unsigned, &u->socket.max_connections, "Socket" },
EXEC_CONTEXT_CONFIG_ITEMS(u->socket.exec_context, "Socket"),
{ "What", config_parse_string, &u->mount.parameters_fragment.what, "Mount" },