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
Unknown Object (File)
Sat, Apr 6, 2:18 AM
Unknown Object (File)
Tue, Apr 2, 10:02 AM
Unknown Object (File)
Tue, Apr 2, 7:44 AM
Unknown Object (File)
Thu, Mar 28, 11:18 AM
Unknown Object (File)
Mar 5 2024, 2:42 PM
Unknown Object (File)
Feb 19 2024, 12:42 AM
Unknown Object (File)
Feb 2 2024, 7:35 PM
Unknown Object (File)
Feb 2 2024, 5:25 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.