Skip to content

Commit

Permalink
chore: don't print warning log in eventloop.close
Browse files Browse the repository at this point in the history
  • Loading branch information
panjf2000 authored and andyl committed Apr 22, 2024
1 parent 8ec5de2 commit 98d55a3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion eventloop_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ func (el *eventloop) close(c *conn, err error) (rerr error) {
iov = iov[:iovMax]
}
if n, e := gio.Writev(c.fd, iov); e != nil {
el.getLogger().Warnf("close: error occurs when sending data back to remote, %v", e)
break
} else { //nolint:revive
_, _ = c.outboundBuffer.Discard(n)
Expand Down

0 comments on commit 98d55a3

Please sign in to comment.