Freigeben über


Understanding the new WinInet option: INTERNET_OPTION_MAX_CONNS_PER_PROXY

The documentation on this is very straight forward (https://msdn.microsoft.com/en-us/library/aa385328(VS.85).aspx).  At the time of publishing however the documentation has a slight error.  You cannot pass a handle in for the first argument.  It must be NULL or the call will return false and GetLastError() will show the error is: ERROR_INTERNET_INVALID_OPERATION.

 The default value for this option is 4 connections.

 Also see this post: https://blogs.msdn.com/jpsanders/archive/2009/06/29/understanding-connection-limits-and-new-proxy-connection-limits-in-wininet-and-internet-explorer.aspx

Let me know if this article was useful to you!