CHttpServer::m_nMaxRequests  
 
UINT m_nMaxRequests;

The maximum number of requests a client may make per connection.

Remarks

The m_nMaxRequests data member is a public variable that specifies the maximum number of a requests a client may make per connection. When a client reaches the maximum number of requests, the server will close the connection and the client must establish a new connection to send another request. If this member has a value of zero, the server will allow 5 requests per connection. The minimum value is 1 and the maximum is 100. Changing the value of this data member does not have an effect on an active instance of the server.

See Also