1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 04:22:30 +01:00

Fix merging issues & API changes - that conflict resolution did not detect

This commit is contained in:
Lloyd Sparkes 2016-04-23 11:06:10 +01:00
parent bfe134ee54
commit 6fdbb2b659
4 changed files with 4 additions and 3 deletions

View File

@ -76,7 +76,7 @@ public HttpResponse GetResponse(HttpRequest request, CookieContainer cookies)
return s * n;
};
if(request.Proxy != null && !request.Proxy.ShouldProxyBeBypassed(request.Url))
if(request.Proxy != null && !request.Proxy.ShouldProxyBeBypassed(new Uri(request.Url.FullUri)))
{
switch (request.Proxy.Type)

View File

@ -29,7 +29,7 @@ public HttpResponse GetResponse(HttpRequest request, CookieContainer cookies)
webRequest.Timeout = (int)Math.Ceiling(request.RequestTimeout.TotalMilliseconds);
}
if (request.Proxy != null && !request.Proxy.ShouldProxyBeBypassed(request.Url))
if (request.Proxy != null && !request.Proxy.ShouldProxyBeBypassed(new Uri(request.Url.FullUri)))
{
var addresses = Dns.GetHostAddresses(request.Proxy.Host);
var socksUsername = request.Proxy.Username == null ? string.Empty : request.Proxy.Username;

View File

@ -45,6 +45,7 @@
</Reference>
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
<HintPath>..\packages\NLog.4.3.0-rc1\lib\net40\NLog.dll</HintPath>
</Reference>
<Reference Include="Org.Mentalis, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\DotNet4.SocksProxy.1.0.0.0\lib\net40\Org.Mentalis.dll</HintPath>
<Private>True</Private>

View File

@ -32,7 +32,7 @@ public override HealthCheck Check()
return new HealthCheck(GetType(), HealthCheckResult.Error, "Failed to resolve the IP Address for the Configured Proxy Host: " + _configService.ProxyHostname);
}
var request = new HttpRequestBuilder("https://services.sonarr.tv/").Build("/ping");
var request = new HttpRequestBuilder("https://services.sonarr.tv/ping").Build();
try
{