diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-06-13 10:15:59 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-06-13 14:17:25 +0200 |
commit | 768fcd779fbb9fd86932da4bef031260b88da210 (patch) | |
tree | 6da14bf24f4c562514e2c43d7c84c9747231effa /man | |
parent | Merge pull request #28014 from bluca/portable_fixes (diff) | |
download | systemd-768fcd779fbb9fd86932da4bef031260b88da210.tar.xz systemd-768fcd779fbb9fd86932da4bef031260b88da210.zip |
socket: bump listen() backlog to INT_MAX everywhere
This is a rework of #24764 by Cristian RodrÃguez
<crodriguez@owncloud.com>, which stalled.
Instead of assigning -1 we'll use a macro defined to INT_MAX however.
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd.socket.xml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/man/systemd.socket.xml b/man/systemd.socket.xml index 474f1d309d..ec145c3710 100644 --- a/man/systemd.socket.xml +++ b/man/systemd.socket.xml @@ -341,12 +341,13 @@ <varlistentry> <term><varname>Backlog=</varname></term> - <listitem><para>Takes an unsigned integer argument. Specifies - the number of connections to queue that have not been accepted - yet. This setting matters only for stream and sequential - packet sockets. See - <citerefentry><refentrytitle>listen</refentrytitle><manvolnum>2</manvolnum></citerefentry> - for details. Defaults to SOMAXCONN (128).</para></listitem> + <listitem><para>Takes an unsigned 32bit integer argument. Specifies the number of connections to + queue that have not been accepted yet. This setting matters only for stream and sequential packet + sockets. See + <citerefentry><refentrytitle>listen</refentrytitle><manvolnum>2</manvolnum></citerefentry> for + details. Note that this value is silently capped by the <literal>net.core.somaxconn</literal> sysctl, + which typically defaults to 4096. By default this is set to 4294967295, so that the sysctl takes full + effect.</para></listitem> </varlistentry> <varlistentry> |