Skip to content

连接数限制 ​

原始发布页

打开来源页面
查看 1 个交叉存档

SVN 修订版 125: - 即使已有 8 个入站连接,也始终建立 8 个出站连接 - 将出站连接限制为每个 a.b.?.? 网段一个 - 开关 -maxconnections=#

我添加了(目前尚未写入文档的)开关 -maxconnections=#。除非你的路由器无法维持大量连接,确实有需要,否则不应使用它;这种情况下可以试试 -maxconnections=30。

我还没有真正充分测试过 -maxconnections,能有人测试一下吗?

英文原文 ​

展开英文原文

SVN rev 125: - Always make 8 outbound connections even if have 8 inbound - Limit outbound connections to one per a.b.?.? range - Switch -maxconnections=#

I added the (currently undocumented) switch -maxconnections=#. You shouldn't use it unless you need to because your router can't maintain a lot of connections, then try -maxconnections=30.

I haven't really tested -maxconnections much, could someone test it?

为历史保存,为中文读者整理。每篇档案均附来源与英文原文。