-
Youness Alaoui authored
Fix a attach/detach recv bug where if we detach our recv callback from the nice agent during the callback of the tcp_readable, we would end up having the loop consume all data from PseudoTcpSocket without notifying anyone of it. This now only consumes data if the callback is available, and calls the readable callback when we attach a new recv callback if the pseudo tcp socket was still readable and all its data wasn't consumed yet
50218411