aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-10-08 20:48:41 -0500
committerJP Dillingham <jp@dillingham.me>2026-10-08 20:48:41 -0500
commit9c4101554e28e4ccf4104e224225bb440ac78f78 (patch)
tree699faa2a21fb9d48d6b716afb51b0502d0f715a8
parent85ce16a71eb88134a9b3230ea832e6dc37c7c216 (diff)
downloadslskd-9c4101554e28e4ccf4104e224225bb440ac78f78.tar.gz
add option
-rw-r--r--config/slskd.example.yml1
-rw-r--r--docs/config.md15
2 files changed, 16 insertions, 0 deletions
diff --git a/config/slskd.example.yml b/config/slskd.example.yml
index 86b7b17f..1edcb919 100644
--- a/config/slskd.example.yml
+++ b/config/slskd.example.yml
@@ -233,6 +233,7 @@
# write: 16384
# transfer: 262144
# write_queue: 250
+# mtu: 1500
# proxy:
# enabled: false
# address: ~
diff --git a/docs/config.md b/docs/config.md
index 2c21d12b..d811c0e0 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -834,6 +834,21 @@ soulseek:
password: ~
```
+### MTU
+
+If needed, the MTU advertised to the server can be set.
+
+| Command-Line | Environment Variable | Description |
+| ------------------- | ----------------------- | ---------------------------------------------------------------------------------- |
+| `--slsk-server-mtu` | `SLSKD_SLSK_SERVER_MTU` | The maximum TCP transmission unit size advertised to the server (0 for OS default) |
+
+#### **YAML**
+```yaml
+soulseek:
+ connection:
+ mtu: 1500
+```
+
## Diagnostic Level
The diagnostic level option is passed to the Soulseek.NET configuration and determines the level of detail the library produces diagnostic messages. This option should generally be left to `Info` or `Warning` but can be set to `Debug` if more verbose logging is desired.