The Free Software Media System - Server Backend & API
Clarify code comment.
Neuheit292c4ebe72d2
diff --git a/Jellyfin.Networking/HappyEyeballs/HttpClientExtension.cs b/Jellyfin.Networking/HappyEyeballs/HttpClientExtension.csindex add70c9cd6..ddbf841b07 100644--- a/Jellyfin.Networking/HappyEyeballs/HttpClientExtension.cs+++ b/Jellyfin.Networking/HappyEyeballs/HttpClientExtension.cs@@ -72,8 +72,6 @@ namespace Jellyfin.Networking.HappyEyeballsusing var cancelIPv4 = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken);var tryConnectAsyncIPv4 = AttemptConnection(AddressFamily.InterNetwork, context, cancelIPv4.Token);- //Both connect tasks use GetAwaiter().GetResult() as the appropriate task has already been completed.- //This results in improved exception handling.if (await Task.WhenAny(tryConnectAsyncIPv6, tryConnectAsyncIPv4).ConfigureAwait(false) == tryConnectAsyncIPv6){if (tryConnectAsyncIPv6.IsCompletedSuccessfully)