Browse Source

Attempt 2 at fixing the SSL error

tags/docs-0.9
RogueException 9 years ago
parent
commit
c3a61774a4
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/Discord.Net/Net/API/RestClient.cs

+ 2
- 2
src/Discord.Net/Net/API/RestClient.cs View File

@@ -198,8 +198,8 @@ namespace Discord.Net.API
_servicePoint = ServicePointManager.FindServicePoint(new Uri(Endpoints.BaseApi));
_servicePoint.Expect100Continue = true;
_servicePoint.UseNagleAlgorithm = false;
//_servicePoint.MaxIdleTime = int.MaxValue;
//_servicePoint.ConnectionLeaseTimeout = int.MaxValue;
_servicePoint.MaxIdleTime = int.MaxValue;
_servicePoint.ConnectionLeaseTimeout = int.MaxValue;
}
}
}

Loading…
Cancel
Save