C# HttpWebRequest 多线程超时问题

HttpWebRequest 多线程一定要设置 System.Net.ServicePointManager.DefaultConnectionLimit = 512; 否则跑不起,很多超时。。

  

另外 HttpWebResponse 用完一定要close  。。。

  

原文地址:https://www.cnblogs.com/cyberarmy/p/10767648.html