1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

man/systemd.socket: be explicit that MaxConnectionsPerSource=0 means disabled

This commit is contained in:
Mike Yuan 2024-04-08 01:49:33 +08:00
parent 8d83e0c20e
commit 6b014a2ac4
No known key found for this signature in database
GPG Key ID: 417471C0A40F58B3

View File

@ -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>