Modifier

Partager via


WinHttpHandler.MaxResponseHeadersLength Property

Definition

Gets or sets the maximum length, in kilobytes (1024 bytes), of the response headers.

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

Property Value

The maximum length, in kilobytes (1024 bytes), of the response headers.

Remarks

This property protects the client from an unauthorized server attempting to stall the client by sending a response with an infinite amount of header data. The default value for this property is 64 KB (equivalent to 65536 bytes).

Applies to