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: On failed handshake, websocket server closes connection without issuing response. #2396
What steps will reproduce the problem? 1. Run a server with the websocket package. 2. Connect to the server and issue an incorrect or incomplete client handshake. What is the expected output? Client should see a 4xx HTTP status response. What do you see instead? Client sees connection hangup. Which compiler are you using (5g, 6g, 8g, gccgo)? 6g Which operating system are you using? osx Which revision are you using? (hg identify) 6d7136d74b65+ weekly/weekly.2011-10-18 Please provide any additional information below. The code appears to be originating and passing around http statuses, but they are not getting out onto the response.