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 摘要。