Attempt 2 at fixing the SSL error

This commit is contained in:
RogueException
2015-09-16 13:07:08 -03:00
parent fcc75f6be7
commit c3a61774a4

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;
}
}
}