net,stream: add isPaused, don't read() when paused
net Sockets were calling read(0) to start reading, without
checking to see if they were paused first. This would result
in paused Socket objects keeping the event loop alive.
Fixes #8200
Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
parent
5086d6ef
Please register or sign in to comment