aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs')
-rw-r--r--MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs13
1 files changed, 0 insertions, 13 deletions
diff --git a/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs b/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs
index f4d4826eb..5908cd800 100644
--- a/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs
+++ b/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs
@@ -164,22 +164,9 @@ namespace MediaBrowser.Common.Implementations.HttpClientManager
}
}
- //request.ServicePoint.BindIPEndPointDelegate = BindIPEndPointCallback;
-
return request;
}
- private static IPEndPoint BindIPEndPointCallback(ServicePoint servicePoint, IPEndPoint remoteEndPoint, int retryCount)
- {
- // Prefer local ipv4
- if (remoteEndPoint.AddressFamily == AddressFamily.InterNetworkV6)
- {
- return new IPEndPoint(IPAddress.IPv6Any, 0);
- }
-
- return new IPEndPoint(IPAddress.Any, 0);
- }
-
private void AddRequestHeaders(HttpWebRequest request, HttpRequestOptions options)
{
foreach (var header in options.RequestHeaders.ToList())