Windows Dev Center

HTTP_SERVICE_CONFIG_TIMEOUT_KEY enumeration

The HTTP_SERVICE_CONFIG_TIMEOUT_KEY enumeration defines the type of timer that is queried or configured through the HTTP_SERVICE_CONFIG_TIMEOUT_SET structure.

Syntax


typedef enum  { 
  IdleConnectionTimeout  = 0,
  HeaderWaitTimeout
} HTTP_SERVICE_CONFIG_TIMEOUT_KEY, *PHTTP_SERVICE_CONFIG_TIMEOUT_KEY;

Constants

IdleConnectionTimeout

The maximum time allowed for a connection to remain idle, after which, the connection is timed out and reset.

HeaderWaitTimeout

The maximum time allowed to parse all the request headers, including the request line, after which, the connection is timed out and reset.

Remarks

The HTTP_SERVICE_CONFIG_TIMEOUT_KEY enumeration is used in the HTTP_SERVICE_CONFIG_TIMEOUT_SET structure to define the type of timer that is configured. The HTTP_SERVICE_CONFIG_TIMEOUT_SET structure passes data to the HTTPSetServiceConfiguration function through the pConfigInformation parameter or retrieves data from the HTTPQueryServiceConfiguration function through the pOutputConfigInformation parameter when the ConfigId parameter of either function is equal to HttpServiceConfigTimeout.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Http.h

See also

HTTP Server API Version 2.0 Enumeration Types
HTTP_SERVICE_CONFIG_TIMEOUT_SET

 

 

Community Additions

ADD
Show:
© 2015 Microsoft