mirror of https://github.com/gorilla/websocket.git
Forgot an error check.
I was trying to use ServeHTTP to directly negotiate a websocket connection without having to use an actual network connection (i.e., using a `httptest.ResponseRecorder`). Doing so, I managed to trigger an error here but it wasn't checked which resulted in a panic later.
This commit is contained in:
parent
365b7a442d
commit
5f5eb14fde
Loading…
Reference in New Issue