29

您什么时候需要调整这两个设置(如下)?这两个数字对于HttpWebRequest我制作的实例意味着什么?

  1. System.Net.ServicePointManager.DefaultConnectionLimit
  2. System.Net.ServicePointManager.MaxServicePointIdleTime

对象是ServicePoint特定于域名还是请求的每个唯一 URI?

4

1 回答 1

29

这是一个很好的解释:

了解 MaxServicePointIdleTime 和 DefaultConnectionLimit

于 2010-07-29T16:51:26.477 回答