Page MenuHomePhabricator

Aphlict - remove listeners when clients close the connection
ClosedPublic

Authored by pmoreau on Feb 2 2015, 10:49 PM.

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.