开发者

System.Net.ServicePointManager.DefaultConnectionLimit and .MaxServicePointIdleTime

开发者 https://www.devze.com 2023-01-09 04:33 出处:网络
When would you need to adjust these two settings (below)? And what do these two numbers mean for HttpWebRequest i开发者_运维知识库nstances that I make?

When would you need to adjust these two settings (below)? And what do these two numbers mean for HttpWebRequest i开发者_运维知识库nstances that I make?

  1. System.Net.ServicePointManager.DefaultConnectionLimit
  2. 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

0

精彩评论

暂无评论...
验证码 换一张
取 消