Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't fake a close code in close response
If the peer doesn't send us a close code, then don't send any code back in the response. Sending 1005 is explicitly wrong as the specification states that code should only be used locally and never be sent over the network.
- Loading branch information