Merge pull request #4806 from thaJeztah/25.0_backport_socket-eof-return

[25.0 backport] socket: return from loop after EOF
This commit is contained in:
Sebastiaan van Stijn
2024-01-22 14:10:02 +01:00
committed by GitHub
+1
View File
@@ -65,6 +65,7 @@ func ConnectAndWait(cb func()) {
_, err := conn.Read(b)
if errors.Is(err, io.EOF) {
cb()
return
}
}
}()