diff options
| author | JP Dillingham <jp@dillingham.me> | 2023-01-23 08:25:26 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2023-01-23 08:25:26 -0600 |
| commit | b7d70dbe919fe7c64897d92bf79e6416c7a7f078 (patch) | |
| tree | 1f3d2c6d5a759b888051d839a22ab8f2e4384604 /src | |
| parent | 1340ffa52dd3aaa63840f9e36f3e6fb495d97a86 (diff) | |
| download | slskd-b7d70dbe919fe7c64897d92bf79e6416c7a7f078.tar.gz | |
docs
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Relay/RelayClient.cs | 3 | ||||
| -rw-r--r-- | src/slskd/Relay/RelayService.cs | 10 |
2 files changed, 6 insertions, 7 deletions
diff --git a/src/slskd/Relay/RelayClient.cs b/src/slskd/Relay/RelayClient.cs index fbf13e14..eef84c27 100644 --- a/src/slskd/Relay/RelayClient.cs +++ b/src/slskd/Relay/RelayClient.cs @@ -501,7 +501,6 @@ namespace slskd.Relay try { // wait for the authentication flow to complete - // time out after 5 seconds in case we get stuck waiting on a dead Task await LoggedInTaskCompletionSource.Task; Log.Information("Uploading shares..."); @@ -510,7 +509,7 @@ namespace slskd.Relay } catch (Exception ex) { - Log.Error(ex, ex.Message); + Log.Error(ex, "Failed to log in and/or upload shares: {Message}", ex.Message); Log.Error("Disconnecting from the relay controller"); // stop, then fire and forget StartAsync() to re-enter the connection retry loop diff --git a/src/slskd/Relay/RelayService.cs b/src/slskd/Relay/RelayService.cs index a403fa73..c7056a0c 100644 --- a/src/slskd/Relay/RelayService.cs +++ b/src/slskd/Relay/RelayService.cs @@ -75,7 +75,7 @@ namespace slskd.Relay /// </item> /// <item> /// The remote agent makes an HTTP POST request containing a multipart upload including a backup of its shared - /// database and a serialized list of locally configured shares, and the controller invokes <see cref="HandleShareUpload"/>. + /// database and a serialized list of locally configured shares, and the controller invokes <see cref="HandleShareUploadAsync"/>. /// </item> /// </list> /// </remarks> @@ -122,7 +122,7 @@ namespace slskd.Relay /// <item> /// <para> /// The remote agent makes an HTTP POST request containing a multipart upload including the file, and the - /// API controller invokes and awaits <see cref="HandleFileStreamResponse"/>. The stream is passed from + /// API controller invokes and awaits <see cref="HandleFileStreamResponseAsync"/>. The stream is passed from /// this method back to the awaited <see cref="GetFileStreamAsync"/>, and the Upload service passes the /// stream to Soulseek.NET, streaming the data from the still-open HTTP request through to the remote /// Soulseek user. @@ -137,7 +137,7 @@ namespace slskd.Relay /// <item> /// When the Upload is complete (successfully or otherwise), the Upload service invokes /// <see cref="TryCloseFileStream"/>, passing an optional <see cref="Exception"/> if the transfer was not - /// successful. This call signals the waiting <see cref="HandleFileStreamResponse"/> to complete, passing + /// successful. This call signals the waiting <see cref="HandleFileStreamResponseAsync"/> to complete, passing /// control back to the API controller and completing the HTTP POST request from the agent. /// </item> /// </list> @@ -451,7 +451,7 @@ namespace slskd.Relay /// <item> /// <para> /// The remote agent makes an HTTP POST request containing a multipart upload including the file, and the - /// API controller invokes and awaits <see cref="HandleFileStreamResponse"/>. The stream is passed from + /// API controller invokes and awaits <see cref="HandleFileStreamResponseAsync"/>. The stream is passed from /// this method back to the awaited <see cref="GetFileStreamAsync"/>, and the Upload service passes the /// stream to Soulseek.NET, streaming the data from the still-open HTTP request through to the remote /// Soulseek user. @@ -466,7 +466,7 @@ namespace slskd.Relay /// <item> /// When the Upload is complete (successfully or otherwise), the Upload service invokes /// <see cref="TryCloseFileStream"/>, passing an optional <see cref="Exception"/> if the transfer was not - /// successful. This call signals the waiting <see cref="HandleFileStreamResponse"/> to complete, passing + /// successful. This call signals the waiting <see cref="HandleFileStreamResponseAsync"/> to complete, passing /// control back to the API controller and completing the HTTP POST request from the agent. /// </item> /// </list> |
