取消dataRate限制
This commit is contained in:
parent
f78b2f7888
commit
e00c6c14cd
@ -23,6 +23,8 @@ namespace FastGithub
|
|||||||
public static void NoLimit(this KestrelServerOptions kestrel)
|
public static void NoLimit(this KestrelServerOptions kestrel)
|
||||||
{
|
{
|
||||||
kestrel.Limits.MaxRequestBodySize = null;
|
kestrel.Limits.MaxRequestBodySize = null;
|
||||||
|
kestrel.Limits.MinResponseDataRate = null;
|
||||||
|
kestrel.Limits.MinRequestBodyDataRate = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user