mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +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)
|
||||
continue
|
||||
} 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{}{}
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue