You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Premature close error on socket under Node.js 12 #477
Activity
vweevers commentedon Jul 2, 2022
Happens because
sock.readableis initially false (beforeconnecthas been emitted) and this branch is hit:readable-stream/lib/internal/streams/end-of-stream.js
Lines 192 to 197 in 49a45a9
Which evaluates to:
mcollina commentedon Jul 2, 2022
I'm not sure what can we do about this.