Class HeaderLimitsExceededException
An HTTP/1 header block exceeded MaxHeaderCount or MaxHeaderAggregateBytes
while HeaderLimits was Enforce. Not an IOException,
so it is not treated as a client disconnect.
Implements
Inherited Members
Namespace: Titanium.Web.Proxy.Http
Assembly: Titanium.Web.Proxy.dll
Syntax
public sealed class HeaderLimitsExceededException : Exception, ISerializable
Constructors
| Edit this page View SourceHeaderLimitsExceededException(bool, long, long, bool)
Creates an exception for one header-block breach.
Declaration
public HeaderLimitsExceededException(bool isCount, long observed, long limit, bool isRequest)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | isCount | |
| long | observed | |
| long | limit | |
| bool | isRequest |
Properties
| Edit this page View SourceIsCount
True when the breach is the header count. False when it is the byte total.
Declaration
public bool IsCount { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsRequest
True when the breach was on request headers.
Declaration
public bool IsRequest { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Limit
The configured limit that was crossed.
Declaration
public long Limit { get; }
Property Value
| Type | Description |
|---|---|
| long |
Observed
The count or byte total that crossed the limit.
Declaration
public long Observed { get; }
Property Value
| Type | Description |
|---|---|
| long |