good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit e9d08816 authored by Simon Ser's avatar Simon Ser Committed by Anmol Sethi
Browse files

Use net.ErrClosed

Go 1.16 has introduced net.ErrClosed, which should be returned/wrapped when an
I/O call is performed on a network connection which has already been closed.
This is useful to avoid cluttering logs with messages like "failed to close
WebSocket: already wrote close".

Closes: https://github.com/nhooyr/websocket/issues/286
parent 4ab2f542
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment