KestrelServerLimits.MaxRequestBufferSize Property

Definition

Gets or sets the maximum size of the request buffer. Defaults to 1,048,576 bytes (1 MB).

C#
public long? MaxRequestBufferSize { get; set; }

Property Value

Remarks

When set to null, the size of the request buffer is unlimited.

Applies to

Product Versions
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0