|
@@ -76,7 +76,7 @@ namespace SAGA.DotNetUtils.Http
|
|
|
request.ServicePoint.ConnectionLimit = int.MaxValue;
|
|
|
request.AllowWriteStreamBuffering = false;
|
|
|
request.Proxy = null;
|
|
|
-
|
|
|
+ request.Timeout= 300 * 1000; //网络响应慢而导致超时,设置为 5 minutes
|
|
|
request.Method = Method.ToString();
|
|
|
request.ContentLength = 0;
|
|
|
request.ContentType = ContentType;
|