mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-04-16 22:54:40 +00:00
p2p: silence on listener shutdown (#33001)
Co-authored-by: Felix Lange <fjl@twurst.com>
This commit is contained in:
parent
116c916753
commit
2bb3d9a330
1 changed files with 3 additions and 1 deletions
|
|
@ -813,7 +813,9 @@ func (srv *Server) listenLoop() {
|
||||||
time.Sleep(time.Millisecond * 200)
|
time.Sleep(time.Millisecond * 200)
|
||||||
continue
|
continue
|
||||||
} else if err != nil {
|
} else if err != nil {
|
||||||
srv.log.Debug("Read error", "err", err)
|
if !errors.Is(err, net.ErrClosed) {
|
||||||
|
srv.log.Debug("Read error", "err", err)
|
||||||
|
}
|
||||||
slots <- struct{}{}
|
slots <- struct{}{}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue