TimeoutManager Class

Definition

Exposes the Http.Sys timeout configurations. These may also be configured in the registry. These settings do not apply when attaching to an existing queue.

public ref class TimeoutManager sealed
public sealed class TimeoutManager
type TimeoutManager = class
Public NotInheritable Class TimeoutManager
Inheritance
TimeoutManager

Properties

DrainEntityBody

The time, in seconds, allowed for the HTTP Server API to drain the entity body on a Keep-Alive connection. The default timer is 2 minutes.

On a Keep-Alive connection, after the application has sent a response for a request and before the request entity body has completely arrived, the HTTP Server API starts draining the remainder of the entity body to reach another potentially pipelined request from the client. If the time to drain the remaining entity body exceeds the allowed period the connection is timed out.

Use TimeSpan.Zero to indicate that system defaults should be used.

EntityBody

The time, in seconds, allowed for the request entity body to arrive. The default timer is 2 minutes.

The HTTP Server API turns on this timer when the request has an entity body. The timer expiration is initially set to the configured value. When the HTTP Server API receives additional data indications on the request, it resets the timer to give the connection another interval.

Use TimeSpan.Zero to indicate that system defaults should be used.

HeaderWait

The time, in seconds, allowed for the HTTP Server API to parse the request header. The default timer is 2 minutes.

This timeout is only enforced after the first request on the connection is routed to the application.

Use TimeSpan.Zero to indicate that system defaults should be used.

IdleConnection

The time, in seconds, allowed for an idle connection. The default timer is 2 minutes.

This timeout is only enforced after the first request on the connection is routed to the application.

Use TimeSpan.Zero to indicate that system defaults should be used.

MinSendBytesPerSecond

The minimum send rate, in bytes-per-second, for the response. The default response send rate is 150 bytes-per-second.

Use 0 to indicate that system defaults should be used.

To disable this timer set it to UInt32.MaxValue

RequestQueue

The time, in seconds, allowed for the request to remain in the request queue before the application picks it up. The default timer is 2 minutes.

Use TimeSpan.Zero to indicate that system defaults should be used.

Applies to