mirror of
https://github.com/openbullet/openbullet.git
synced 2023-10-21 07:33:42 -05:00
Added code to accept all available security protocols with HttpClient
This commit is contained in:
@@ -89,6 +89,9 @@ namespace RuriLib
|
||||
{
|
||||
base.Process(data);
|
||||
|
||||
// Accept all protocols
|
||||
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls | SecurityProtocolType.Ssl3;
|
||||
|
||||
// If the clearance info is already set and we're not getting it fresh each time, skip
|
||||
if (data.UseProxies)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user