取消dataRate限制

This commit is contained in:
陈国伟 2021-09-18 10:45:11 +08:00
parent f78b2f7888
commit e00c6c14cd

View File

@ -23,6 +23,8 @@ namespace FastGithub
public static void NoLimit(this KestrelServerOptions kestrel)
{
kestrel.Limits.MaxRequestBodySize = null;
kestrel.Limits.MinResponseDataRate = null;
kestrel.Limits.MinRequestBodyDataRate = null;
}
/// <summary>