File 0222-kernel-gen_sctp-clarify-description-for-sctp_nodelay.patch of Package erlang
From 7bd108fa07de7e69379d181fb6dead490cffb55f Mon Sep 17 00:00:00 2001
From: Vadim Yanitskiy <fixeria@osmocom.org>
Date: Fri, 28 Mar 2025 01:12:09 +0700
Subject: [PATCH] kernel: gen_sctp: clarify description for sctp_nodelay
Make it clear that {sctp_nodelay, true} actually turns off the Nagle.
---
lib/kernel/src/gen_sctp.erl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/kernel/src/gen_sctp.erl b/lib/kernel/src/gen_sctp.erl
index a5429fd9d6..c340623fa8 100644
--- a/lib/kernel/src/gen_sctp.erl
+++ b/lib/kernel/src/gen_sctp.erl
@@ -210,9 +210,9 @@ Defaults to `inet_sctp` for IPv4 and `inet6_sctp` for IPv6.
after which an idle association is automatically closed. `0` means that the
association is never automatically closed.
-- **`{sctp_nodelay, true|false}`** - Turns on|off the Nagle algorithm for
- merging small packets into larger ones. This improves throughput at the
- expense of latency.
+- **`{sctp_nodelay, true|false}`** - Turns off (`true`) / on (`false`) the Nagle
+ algorithm for merging small packets into larger ones. This improves throughput
+ at the expense of latency.
- **`{sctp_disable_fragments, true|false}`** - If `true`, induces an error on an
attempt to send a message larger than the current PMTU size (which would
--
2.43.0