aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Core/Extensions.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2025-11-22 18:36:31 -0600
committerGitHub <noreply@github.com>2025-11-22 18:36:31 -0600
commit47490e366b5bc4b2a1679fba50655697afbe7137 (patch)
treeae98bb4fb66d20e5fecd69267bcbb17d80c4986b /src/slskd/Core/Extensions.cs
parent2e073014a003fc4e972a9a2677fccd3d30074cd2 (diff)
parent6ba7311d48b95ca75f49b3b28c1a8db810f87fe1 (diff)
downloadslskd-47490e366b5bc4b2a1679fba50655697afbe7137.tar.gz
Merge branch 'master' into dependabot/npm_and_yarn/src/web/axios-0.30.2
Diffstat (limited to 'src/slskd/Core/Extensions.cs')
-rw-r--r--src/slskd/Core/Extensions.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/slskd/Core/Extensions.cs b/src/slskd/Core/Extensions.cs
index 65942180..db75cc9c 100644
--- a/src/slskd/Core/Extensions.cs
+++ b/src/slskd/Core/Extensions.cs
@@ -51,7 +51,7 @@ namespace slskd
/// <param name="connectTimeout">The connection timeout, in milliseconds, for client and peer TCP connections.</param>
/// <param name="inactivityTimeout">The inactivity timeout, in milliseconds, for peer TCP connections.</param>
/// <param name="proxyOptions">Optional SOCKS 5 proxy configuration options.</param>
- /// <param name="configureSocketAction">
+ /// <param name="configureSocket">
/// The delegate invoked during instantiation to configure the server Socket instance.
/// </param>
/// <returns>The new instance.</returns>
@@ -63,14 +63,14 @@ namespace slskd
int? connectTimeout = null,
int? inactivityTimeout = null,
ProxyOptions proxyOptions = null,
- Action<Socket> configureSocketAction = null) => new ConnectionOptions(
+ Action<Socket> configureSocket = null) => new ConnectionOptions(
readBufferSize: readBufferSize ?? o.ReadBufferSize,
writeBufferSize: writeBufferSize ?? o.WriteBufferSize,
writeQueueSize: writeQueueSize ?? o.WriteQueueSize,
connectTimeout: connectTimeout ?? o.ConnectTimeout,
inactivityTimeout: inactivityTimeout ?? o.InactivityTimeout,
proxyOptions: proxyOptions ?? o.ProxyOptions,
- configureSocket: configureSocketAction ?? o.ConfigureSocket);
+ configureSocket: configureSocket ?? o.ConfigureSocket);
/// <summary>
/// Creates a new instance of <see cref="UserStatisticsState"/> from this instance of <see cref="UserStatistics"/>.