多线程调用WebClient速度变慢的问题

设置 System.Net.ServicePoint 对象所允许的最大并发连接数

System.Net.ServicePoint 对象允许的最大并发连接数。默认值为 2

System.Net.ServicePointManager.DefaultConnectionLimit = 512;

posted @ 2014-06-30 11:04  Ruiky  阅读(583)  评论(0编辑  收藏  举报