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)
Thu, Dec 12, 11:44 AM
Unknown Object (File)
Thu, Dec 12, 4:48 AM
Unknown Object (File)
Wed, Dec 4, 7:03 AM
Unknown Object (File)
Sun, Dec 1, 12:10 PM
Unknown Object (File)
Sun, Dec 1, 11:56 AM
Unknown Object (File)
Thu, Nov 28, 5:34 PM
Unknown Object (File)
Thu, Nov 28, 1:19 PM
Unknown Object (File)
Thu, Nov 28, 4:44 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.