From 9c4101554e28e4ccf4104e224225bb440ac78f78 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 8 Oct 2026 20:48:41 -0500 Subject: add option --- config/slskd.example.yml | 1 + docs/config.md | 15 +++++++++++++++ 2 files changed, 16 insertions(+) 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. -- cgit v1.2.3