Unblock TCP Accept on listener close (V-679)

The owner explicitly requested direct commits on master; --no-verify bypasses the branch-only workflow hook for that instruction.
This commit is contained in:
2026-08-13 02:03:32 +04:00
parent 7d0250a30b
commit de61b753ac
2 changed files with 33 additions and 0 deletions
+2
View File
@@ -188,6 +188,8 @@ func (l *Listener) Accept() (net.Conn, error) {
case err := <-l.errc:
l.errc <- err
return nil, err
case <-l.done:
return nil, net.ErrClosed
}
}