WinHttpSendRequest opening handles

  • Thread starter Thread starter UniDAC
  • Start date Start date
U

UniDAC

Guest
I have a WinHttp application that repeatedly sends requests via WinHttpSendRequest. When running this app on a Win10 system, the open handle count after the WinHttpSendRequest call will rise to a particular value (around 370) then stay at that value.

On a Win Server 2016 system, this call results in an increasing number of open handles that continues until I start getting network errors. At that time the open handle count will be around 65,700.

I assume the handle count is due to some pool that WinHttp is managing, probably related to HTTP connections? Why would this count continue to increase on one system and not another ... is there some registry setting that controls this?

Thanks in advance.

Continue reading...
 
Back
Top