System.Net.ServicePointManager.DefaultConnectionLimit和.MaxServicePointIdleTime [英] System.Net.ServicePointManager.DefaultConnectionLimit and .MaxServicePointIdleTime

查看:324
本文介绍了System.Net.ServicePointManager.DefaultConnectionLimit和.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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆