How detect the server supported connection count

drjackool 956 Reputation points
2021-10-29T07:10:25.527+00:00

Hi
I have a downloader program in MFC/Win32 that downloads a file at multi-connection but on some sites when connection count is 8 the server returns 503 error but when I decrease connection count to 5 download works fine? Also I set INTERNET_OPTION_MAX_CONNS_PER_SERVER and 1_0 server value to 64 How to solve this problem? How detect the server supported connection count?
Thanks

Windows development | Internet Information Services
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.