server: per-address connection limit by default

Aperta
#511 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
57/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker, javascript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
JavaScript
Stelle
1
Fork
1
Merge medio
3h 34m
PR unite (30g)
213

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di eizedev/pivotkit

Tutte le issue di eizedev/pivotkit

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.