Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
x/net/websocket: websocket.Conn.Close leaks file descriptors if remote has disconnected #10866
In the current Conn.Close behaviour can leak file descriptors if the server has gone away before the client calls .Close
In the case that the remote side has closed the connection, WriteClose will return an error which will be returned to the caller without calling