aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Relay/RelayClient.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-04-25 19:08:04 -0500
committerGitHub <noreply@github.com>2026-04-25 19:08:04 -0500
commitb5bc6974273a2b0272cedb4ae0f2697531ed1431 (patch)
tree161e392274e8d84d1c0d4856a91b6df8a25ed5c8 /src/slskd/Relay/RelayClient.cs
parent14f94a4825d6da485f08b9c9e967c61181e41c81 (diff)
parent3b9d14bf6f128d771149f6589f345967aea5dc4d (diff)
downloadslskd-b5bc6974273a2b0272cedb4ae0f2697531ed1431.tar.gz
Merge pull request #1714 from slskd/relay-ipv6
Map IPv6-mapped IPv4 addresses to IPv4 before checking against Relay CIDR
Diffstat (limited to 'src/slskd/Relay/RelayClient.cs')
-rw-r--r--src/slskd/Relay/RelayClient.cs9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/slskd/Relay/RelayClient.cs b/src/slskd/Relay/RelayClient.cs
index 6fb2f360..9aec7b00 100644
--- a/src/slskd/Relay/RelayClient.cs
+++ b/src/slskd/Relay/RelayClient.cs
@@ -362,11 +362,6 @@ namespace slskd.Relay
LoggedInTaskCompletionSource.TrySetResult();
}
- catch (UnauthorizedAccessException)
- {
- await HubConnection.StopAsync();
- Log.Error("Relay controller authentication failed. Check configuration.");
- }
catch (Exception ex)
{
Log.Error(ex, "Failed to handle authentication challenge: {Message}", ex.Message);
@@ -532,6 +527,8 @@ namespace slskd.Relay
Log.Information("Uploading shares...");
await UploadSharesAsync();
+
+ Log.Information("Shares uploaded. Ready to relay files.");
}
catch (Exception ex)
{
@@ -542,8 +539,6 @@ namespace slskd.Relay
await StopAsync();
_ = StartAsync();
}
-
- Log.Information("Shares uploaded. Ready to relay files.");
}
private Task HubConnection_Reconnecting(Exception arg)