禁用压缩

This commit is contained in:
xljiulang 2021-07-24 21:37:37 +08:00
parent 87587d1e76
commit fa150fa3e8

View File

@ -2,6 +2,7 @@
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Security;
using System.Net.Sockets;
@ -39,6 +40,7 @@ namespace FastGithub.Http
Proxy = null,
UseProxy = false,
AllowAutoRedirect = false,
AutomaticDecompression = DecompressionMethods.None,
ConnectCallback = async (context, cancellationToken) =>
{
var socket = new Socket(SocketType.Stream, ProtocolType.Tcp);