From db3870018d9c2d523a4e106b888c45f0066f7933 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 13 Nov 2022 15:41:29 -0600 Subject: rename Network in options --- config/slskd.example.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/slskd.example.yml b/config/slskd.example.yml index 2cddd8e6..33c1a795 100644 --- a/config/slskd.example.yml +++ b/config/slskd.example.yml @@ -11,10 +11,10 @@ # log_sql: false # experimental: false # volatile: false -# network: +# relay: # mode: controller # controller (default), agent, or debug (for local development) # # controller config is required when running in 'agent' mode -# # this specifies the network controller that will be controlling this agent +# # this specifies the relay controller that will be controlling this agent # controller: # address: # ignore_certificate_errors: false -- cgit v1.2.3 From 75e7d6accd92a07ae13c7eff16893cf577af255b Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 14 Nov 2022 07:43:45 -0600 Subject: replace remaining network references --- config/slskd.example.yml | 2 +- src/slskd/Common/Exceptions/RelayException.cs | 2 +- src/slskd/Relay/API/Controllers/RelayController.cs | 2 +- src/slskd/Relay/RelayService.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'config') diff --git a/config/slskd.example.yml b/config/slskd.example.yml index 33c1a795..a1a5d825 100644 --- a/config/slskd.example.yml +++ b/config/slskd.example.yml @@ -21,7 +21,7 @@ # api_key: # secret: # # agent config is optional when running in 'controller' mode -# # this specifies all of the agents on the network +# # this specifies all of the agents capable of connecting # agents: # my_agent: # secret: diff --git a/src/slskd/Common/Exceptions/RelayException.cs b/src/slskd/Common/Exceptions/RelayException.cs index 2c1747a2..11a6bd9e 100644 --- a/src/slskd/Common/Exceptions/RelayException.cs +++ b/src/slskd/Common/Exceptions/RelayException.cs @@ -22,7 +22,7 @@ namespace slskd using System.Runtime.Serialization; /// - /// Represents an error related to the slskd network feature. + /// Represents an error related to the slskd relay feature. /// [ExcludeFromCodeCoverage] [Serializable] diff --git a/src/slskd/Relay/API/Controllers/RelayController.cs b/src/slskd/Relay/API/Controllers/RelayController.cs index 8db29662..8898e991 100644 --- a/src/slskd/Relay/API/Controllers/RelayController.cs +++ b/src/slskd/Relay/API/Controllers/RelayController.cs @@ -121,7 +121,7 @@ namespace slskd.Relay Log.Information("File upload of {Filename} ({Token}) from agent {Agent} validated and authenticated. Forwarding file stream.", filename, token, agentName); - // pass the stream back to the network service, which will in turn pass it to the upload service, and use it to + // pass the stream back to the relay service, which will in turn pass it to the upload service, and use it to // feed data into the remote upload. await this call, it will complete when the upload is complete, one way or the other. await Relay.HandleFileStreamResponse(agentName, id: guid, stream); diff --git a/src/slskd/Relay/RelayService.cs b/src/slskd/Relay/RelayService.cs index fd470852..2e986c84 100644 --- a/src/slskd/Relay/RelayService.cs +++ b/src/slskd/Relay/RelayService.cs @@ -276,7 +276,7 @@ namespace slskd.Relay } /// - /// Gets the network client (agent). + /// Gets the relay client (agent). /// public IRelayClient Client { get; private set; } -- cgit v1.2.3