From 777169a15e0eb50fa3d43fb0d00b3154a6c7a0de Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb <542154+lorenzleutgeb@users.noreply.github.com> Date: Wed, 17 Jun 2026 14:36:37 +0200 Subject: [PATCH 1/2] docs(iroh-dns-server): Fix link to production config file (#4353) Trivial fix to refer to the correct example configuration file. --- iroh-dns-server/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iroh-dns-server/README.md b/iroh-dns-server/README.md index e6f68c7784..cdb9651564 100644 --- a/iroh-dns-server/README.md +++ b/iroh-dns-server/README.md @@ -7,7 +7,7 @@ This server compiles to a binary `iroh-dns-server`. It needs a config file, of which there are two examples included: - [`config.dev.toml`](./config.dev.toml) - suitable for local development -- [`config.prod.toml`](./config.dev.toml) - suitable for production, after +- [`config.prod.toml`](./config.prod.toml) - suitable for production, after adjusting the domain names and IP addresses The server will expose the following services: From 255a939b1a301ac106a2c7d7928ee18187b165c2 Mon Sep 17 00:00:00 2001 From: Floris Bruynooghe Date: Wed, 17 Jun 2026 17:39:51 +0200 Subject: [PATCH 2/2] fix(docs): Fix keep-alive docs (#4352) ## Description This simply fixes the docs to fix #4350. ## Breaking Changes n/a ## Notes & open questions The values and interactions of these keep alive and idle timers are still a bit messy. They need to be cleaned up in noq first though. But we're also limited now that everything is 1.0. ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. --- iroh/src/endpoint/quic.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/iroh/src/endpoint/quic.rs b/iroh/src/endpoint/quic.rs index e5fcb0dd04..9f4da2177f 100644 --- a/iroh/src/endpoint/quic.rs +++ b/iroh/src/endpoint/quic.rs @@ -149,7 +149,7 @@ impl QuicTransportConfig { } impl QuicTransportConfigBuilder { - /// Create a default [`QuicTransportConfigBuilder`]. + /// Creates a default [`QuicTransportConfigBuilder`]. fn new() -> Self { let mut cfg = noq::TransportConfig::default(); // Override some transport config settings. @@ -162,7 +162,7 @@ impl QuicTransportConfigBuilder { Self(cfg) } - /// Build a [`QuicTransportConfig`] from the builder. + /// Builds a [`QuicTransportConfig`] from the builder. pub fn build(self) -> QuicTransportConfig { QuicTransportConfig(Arc::new(self.0)) } @@ -357,11 +357,11 @@ impl QuicTransportConfigBuilder { /// Period of inactivity before sending a keep-alive packet. /// - /// Keep-alive packets prevent an inactive but otherwise healthy connection from timing out. + /// Keep-alive packets prevent an inactive but otherwise healthy connection from timing + /// out. They are important to keep NAT bindings alive and firewalls open. /// - /// `None` to disable, which is the default. Only one side of any given connection needs keep-alive - /// enabled for the connection to be preserved. Must be set lower than the idle_timeout of both - /// peers to be effective. + /// The default is 5s, please be careful when modifying this as it may affect connection + /// stability. Must be set lower than the idle_timeout of both peers to be effective. pub fn keep_alive_interval(mut self, value: Duration) -> Self { self.0.keep_alive_interval(Some(value)); self