在 .NET 中,我已经成功尝试了以下配置:
<system.net>
<connectionManagement>
<add address="*" maxconnection="100"/>
</connectionManagement>
</system.net>
使用 100 个并发 HttpWebRequest 他们几乎同时回答(不到一秒)。
我想知道为什么有些人在一些论坛上写道,Windows XP 和 Windows Server 2008 将这个数字限制为 15 或 20。他们是对的吗?