SIGN IN SIGN UP

Fix leaking listeners (#1295) (#1474)

Since 8eeeec1 it seems listeners have been leaking on keep-alive
sockets.

Apparently abort() has been deprecated since v17, using close() the
onSocketClose listener is properly removed, and by creating a new onData
function I'm able to remove the 'data' listener too.
F
Felipe Contreras committed
043a5fcfc82884155bcb2afba2a82333b2f29c02
Parent: 004b3ac
Committed by GitHub <noreply@github.com> on 5/7/2022, 9:56:37 PM