server: per-address connection limit by default

未关闭
#511 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
半天
新手友好度
57/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
docker, javascript

调研方向

Start by locating CONNECTION_LIMITS and the image's docker run -p example. Check how the total and per-address limits are set and documented, then choose the stated fix: set a generous default such as 32 and document the NAT trade-off, or explain the risk beside the image example. Done means the default or documentation addresses clients exhausting the shared connection limit.

由索引模型根据 Issue 内容生成。

描述

area:server enhancement

CONNECTION_LIMITS has no per-address bound by default (total 256, perAddress 0). One client holding about 240 slow connections locks every other network client out; only loopback keeps its 16. The image's quickest docker run -p exposes the port directly. Not measured from a non-loopback peer.

Fix: default perAddress to something generous (for example 32) with the NAT trade-off written down, or document it next to the image's -p example. Found in the full review before 0.7.0.

主要语言
JavaScript
星标
1
派生
1
平均合并
3 小时 34 分钟
30 天内合并 PR
213

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

eizedev/pivotkit 的其他 Issue

查看 eizedev/pivotkit 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。