Rebase cleanup

This commit is contained in:
Nate Brown
2025-11-03 22:21:20 -06:00
parent 3e2a6e0a5d
commit 19600f257f
3 changed files with 4 additions and 6 deletions

View File

@@ -142,8 +142,7 @@ func (u *RIOConn) ListenOut(r EncReader) error {
n, rua, err := u.receive(buffer)
if err != nil {
if errors.Is(err, net.ErrClosed) {
u.l.WithError(err).Debug("udp socket is closed, exiting read loop")
return
return err
}
u.l.WithError(err).Error("unexpected udp socket receive error")
continue