websocket
websocket copied to clipboard
Package gorilla/websocket is a fast, well-tested and widely used WebSocket implementation for Go.
Unlike `WriteControl`, `WriteMessage` does not attempt to honor the deadline while acquiring the mutex. `WriteMessage` https://github.com/gorilla/websocket/blob/b65e62901fc1c0d968042419e74789f6af455eb9/conn.go#L378-L380 `WriteControl` https://github.com/gorilla/websocket/blob/b65e62901fc1c0d968042419e74789f6af455eb9/conn.go#L432-L447 It's not clear whether this can actually cause an issue, but it...
Previously, it was impossible to specify both `Proxy` and `NetDialTLSContext` on the websocket `Dialer` without experiencing connection issues. This commit brings a change to the proxy CONNECT flow so that...
**Describe the bug** I can't connect to a websocket server over a HTTP proxy when I set both `NetDialTLSContext` and `Proxy` fields on the `websocket.Dialer` struct. See the code snippet...
**Is your feature request related to a problem? Please describe.** > A clear and concise description of what the problem is - e.g. "I'm always frustrated when [...]" Most long...
**Is your feature request related to a problem? Please describe.** I need to use a proxy server that itself requires TLS (proxy URL has https scheme). **Describe the solution you'd...
Using go v1.17 Using gorilla websocket v1.4.2 iOS Safari 15 enabled by default for all users "NSURLSession WebSocket", by enabling this, it broke my application at (https://watchtheburn.com) if you have...
Hi, I've been started using with Centrifugo in the past week. I'm using the raw Websocket endpoint which uses this library under the hood. I'm experiencing a situation where per-message-deflate...
**Describe the bug** > The library doesn't allow adding "Sec-Websocket-Extensions" header. However, the RFC says that this header can be set multiple times in the Request, but only once in...
**Summary of Changes** 1. Add an example that uses the write buffer pool The loop process of the websocket connection is inner the http handler at existing examples, This usage...
see [issue](https://github.com/gorilla/websocket/issues/597)