System.Net.ServicePointManager.DefaultConnectionLimit和.MaxServicePointIdleTime [英] System.Net.ServicePointManager.DefaultConnectionLimit and .MaxServicePointIdleTime
问题描述
当你需要调整这两个设置(如下图)?什么做这两个数字意味着HttpWebRequests我做的?
When would you need to adjust these two settings (below)? And what do these two numbers mean for HttpWebRequests that I make?
System.Net.ServicePointManager.DefaultConnectionLimit
System.Net.ServicePointManager.DefaultConnectionLimit
System.Net.ServicePointManager.MaxServicePointIdleTime
System.Net.ServicePointManager.MaxServicePointIdleTime
是的ServicePoint对象具体到一个域名或每一个独特的URI请求?
Are ServicePoint objects specific to a domainname or each unique URI requested?
推荐答案
下面是一个很好的解释:
Here is a great explanation:
<一个href="http://blogs.msdn.com/b/jpsanders/archive/2009/05/20/understanding-maxservicepointidletime-and-defaultconnectionlimit.aspx">Understanding MaxServicePointIdleTime和DefaultConnectionLimit
这篇关于System.Net.ServicePointManager.DefaultConnectionLimit和.MaxServicePointIdleTime的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!