summaryrefslogtreecommitdiffstats
path: root/man/systemd.socket.xml
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2024-04-07 19:49:33 +0200
committerMike Yuan <me@yhndnzj.com>2024-04-07 19:49:49 +0200
commit6b014a2ac4b3cd27b71bcbee18395a07c6ef4dad (patch)
treec7b0d42cfa45de04cadf7112f398449ab810c78a /man/systemd.socket.xml
parentcore/service: use GREEDY_REALLOC_APPEND (diff)
downloadsystemd-6b014a2ac4b3cd27b71bcbee18395a07c6ef4dad.tar.xz
systemd-6b014a2ac4b3cd27b71bcbee18395a07c6ef4dad.zip
man/systemd.socket: be explicit that MaxConnectionsPerSource=0 means disabled
Diffstat (limited to 'man/systemd.socket.xml')
-rw-r--r--man/systemd.socket.xml14
1 files changed, 5 insertions, 9 deletions
diff --git a/man/systemd.socket.xml b/man/systemd.socket.xml
index 3531ffaa17..8dc7641dde 100644
--- a/man/systemd.socket.xml
+++ b/man/systemd.socket.xml
@@ -460,14 +460,10 @@
<varlistentry>
<term><varname>MaxConnections=</varname></term>
- <listitem><para>The maximum number of connections to
- simultaneously run services instances for, when
- <option>Accept=yes</option> is set. If more concurrent
- connections are coming in, they will be refused until at least
- one existing connection is terminated. This setting has no
- effect on sockets configured with
- <option>Accept=no</option> or datagram sockets. Defaults to
- 64.</para></listitem>
+ <listitem><para>The maximum number of connections to simultaneously run services instances for, when
+ <option>Accept=yes</option> is set. If more concurrent connections are coming in, they will be refused
+ until at least one existing connection is terminated. This setting has no effect on sockets configured
+ with <option>Accept=no</option> or datagram sockets. Defaults to 64.</para></listitem>
</varlistentry>
<varlistentry>
@@ -475,7 +471,7 @@
<listitem><para>The maximum number of connections for a service per source IP address (in case of
IPv4/IPv6), per source CID (in case of <constant>AF_VSOCK</constant>), or source UID (in case of
<constant>AF_UNIX</constant>). This is very similar to the <varname>MaxConnections=</varname>
- directive above. Disabled by default.</para>
+ directive above. Defaults to 0, i.e. disabled.</para>
<xi:include href="version-info.xml" xpointer="v232"/>
</listitem>