Page MenuHomePhabricator

Aphlict - remove listeners when clients close the connection
ClosedPublic

Authored by pmoreau on Feb 2 2015, 10:49 PM.
Tags
None
Referenced Files
F19798763: D11634.id.diff
Fri, Feb 27, 10:16 PM
F19644498: D11634.diff
Thu, Feb 5, 10:14 PM
F19581296: D11634.diff
Sun, Feb 1, 6:51 PM
F19581295: D11634.diff
Sun, Feb 1, 6:51 PM
F19555726: D11634.id.diff
Jan 30 2026, 5:48 PM
F19543859: D11634.diff
Jan 23 2026, 12:20 AM
F19531381: D11634.id28002.diff
Jan 20 2026, 4:24 AM
F19164681: D11634.id28000.diff
Dec 15 2025, 6:16 PM
Subscribers

Details

Summary

Ref T7110. Listeners are now removed when clients close the connection to avoid stacking a never ending number of unused listeners.

Test Plan

Using wscat to connect to the Aphlict server; when closing the connection a 'Diconnected.' will appear in the logs and the number of active listeners is decreased by one.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

pmoreau retitled this revision from to Aphlict - remove listeners when clients close the connection.
pmoreau updated this object.
pmoreau edited the test plan for this revision. (Show Details)
pmoreau added a reviewer: epriestley.
This revision is now accepted and ready to land.Feb 2 2015, 10:56 PM
This revision was automatically updated to reflect the committed changes.