Skip to content

Commit 3422cfc

Browse files
authored
Merge pull request #96 from ssahani/dev
Doc: Add NoDelay=
2 parents a1c920b + 833afd9 commit 3422cfc

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ systemd-netlogd reads configuration files named `/etc/systemd/netlogd.conf` and
8080

8181
TLSCertificateAuthMode=
8282
Specifies whether to validate the certificate. Takes one of no, allow, deny, warn. Defaults to 'no' which disables certificate validation.
83-
83+
8484
KeepAlive=
8585
Takes a boolean argument. If true, the TCP/IP stack will send a keep alive message after 2h (depending on the configuration of /proc/sys/net/ipv4/tcp_keepalive_time)
8686
for all TCP streams accepted on this socket. This controls the SO_KEEPALIVE socket option (see socket(7) and the TCP Keepalive HOWTO for details.) Defaults to false.
@@ -90,19 +90,18 @@ systemd-netlogd reads configuration files named `/etc/systemd/netlogd.conf` and
9090
and the TCP Keepalive HOWTO for details.) Default value is 7200 seconds (2 hours).
9191

9292
KeepAliveIntervalSec=
93-
Takes time (in seconds) as argument between individual keepalive probes, if the socket option SO_KEEPALIVE has been set on this socket. This controls the TCP_KEEPINTVL
93+
Takes time (in seconds) as argument between individual keepalive probes, if the socket option SO_KEEPALIVE has been set on this socket. This controls the TCP_KEEPINTVL
9494
socket option (see socket(7) and the TCP Keepalive HOWTO for details.) Default value is 75 seconds.
95-
95+
9696
KeepAliveProbes=
9797
Takes an integer as argument. It is the number of unacknowledged probes to send before considering the connection dead and notifying the application layer. This controls the
9898
TCP_KEEPCNT socket option (see socket(7) and the TCP Keepalive HOWTO for details.) Default value is 9.
9999

100100
SendBuffer=
101-
Takes an integer argument controlling the receive or send buffer sizes of this socket, respectively. This controls the SO_RCVBUF and SO_SNDBUF socket options (see socket(7) for details.).
102-
The usual suffixes K, M, G are supported and are understood to the base of 1024.
103-
101+
Takes an integer argument controlling the receive or send buffer sizes of this socket, respectively. This controls the SO_SNDBUF socket options (see socket(7) for details.). The usual suffixes K, M, G are supported and are understood to the base of 1024.
102+
104103
NoDelay=
105-
Takes a boolean argument. TCP Nagle's algorithm works by combining a number of small outgoing messages, and sending them all at once.
104+
Takes a boolean argument. TCP Nagle's algorithm works by combining a number of small outgoing messages, and sending them all at once.
106105
This controls the TCP_NODELAY socket option (see tcp(7)). Defaults to false.
107106

108107
Optional settings

doc/index.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ This will create a user systemd-journal-netlog
7070
Takes an integer as argument. It is the number of unacknowledged probes to send before considering the connection dead and notifying
7171
the application layer. This controls the TCP_KEEPCNT socket option (see socket(7) and the TCP Keepalive HOWTO for details.) Default value is 9.
7272
73+
| ``SendBuffer=``
74+
Takes an integer argument controlling the receive or send buffer sizes of this socket, respectively. This controls the SO_SNDBUF
75+
socket options (see socket(7) for details.). The usual suffixes K, M, G are supported and are understood to the base of 1024.
76+
77+
| ``NoDelay=``
78+
Takes a boolean argument. TCP Nagle's algorithm works by combining a number of small outgoing messages, and sending them all at once.
79+
This controls the TCP_NODELAY socket option (see tcp(7)). Defaults to false.
80+
7381
| Optional settings
7482
7583
| ``StructuredData=``

0 commit comments

Comments
 (0)