Share via


HttpBaseProtocolFilter.MaxConnectionsPerServer Property

Definition

Get or set the maximum number of TCP connections allowed per HTTP server by the HttpBaseProtocolFilter object.

public:
 property unsigned int MaxConnectionsPerServer { unsigned int get(); void set(unsigned int value); };
uint32_t MaxConnectionsPerServer();

void MaxConnectionsPerServer(uint32_t value);
public uint MaxConnectionsPerServer { get; set; }
var uInt32 = httpBaseProtocolFilter.maxConnectionsPerServer;
httpBaseProtocolFilter.maxConnectionsPerServer = uInt32;
Public Property MaxConnectionsPerServer As UInteger

Property Value

UInt32

unsigned int

uint32_t

The maximum number of connections allowed per HTTP server.

Remarks

The MaxConnectionsPerServer property determines the maximum number of TCP connections to an HTTP server allowed on the HttpBaseProtocolFilter object. The best value for your application to set this property to depends on your usage pattern, and on the server, and it also depends on whether you're optimizing for performance for a single query or performance for all queries.

The default value for this property is currently 6. But the default value is a function of the version of the HttpBaseProtocolFilter, and it is not guaranteed to be unchanged from one release to another.

Applies to