System.Net.ServicePointManager.DefaultConnectionLimit and .MaxServicePointIdleTime
-
03-10-2020 - |
题
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?
解决方案
Here is a great explanation:
Understanding MaxServicePointIdleTime and DefaultConnectionLimit
不隶属于 StackOverflow