问题
When would you need to adjust these two settings (below)? And what do these two numbers mean for HttpWebRequest
instances that I make?
System.Net.ServicePointManager.DefaultConnectionLimit
System.Net.ServicePointManager.MaxServicePointIdleTime
Are ServicePoint
objects specific to a domain name or each unique URI requested?
回答1:
Here is a great explanation:
Understanding MaxServicePointIdleTime and DefaultConnectionLimit
来源:https://stackoverflow.com/questions/3363183/system-net-servicepointmanager-defaultconnectionlimit-and-maxservicepointidleti