KestrelServerLimits.MaxRequestLineSize Property

Definition

Gets or sets the maximum allowed size for the HTTP request line. Defaults to 8,192 bytes (8 KB).

public:
 property int MaxRequestLineSize { int get(); void set(int value); };
public int MaxRequestLineSize { get; set; }
member this.MaxRequestLineSize : int with get, set
Public Property MaxRequestLineSize As Integer

Property Value

Remarks

For HTTP/2 and HTTP/3 this measures the total size of the required pseudo headers :method, :scheme, :authority, and :path.

Applies to