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
F18820855: D11634.id.diff
Wed, Oct 22, 5:32 PM
F18813290: D11634.diff
Mon, Oct 20, 3:08 PM
F18788165: D11634.id28002.diff
Wed, Oct 15, 3:13 AM
F18764667: D11634.id.diff
Tue, Oct 7, 7:11 AM
F18762669: D11634.diff
Mon, Oct 6, 8:07 PM
F18753281: D11634.id28000.diff
Sat, Oct 4, 6:08 PM
F18737123: D11634.diff
Wed, Oct 1, 9:06 AM
F18629366: D11634.diff
Sep 16 2025, 8:36 AM
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.