| commit | 5e002381133d322c5f1305d171f3bdd07decf229 | [log] [tgz] |
|---|---|---|
| author | Martin Greenwald <[email protected]> | Thu Feb 15 03:06:54 2024 |
| committer | Alex Vulaj <[email protected]> | Sun Aug 04 21:20:23 2024 |
| tree | 559036dc4032fc3a18c11a6ecc39de1e7e30e100 | |
| parent | c5b8b8c38ae0aa1d2f75079f430a2393fce0d59d [diff] |
Do not timeout when WriteControl deadline is zero A zero value for the Conn.WriteControl deadline specifies no timeout, but the feature was implemented as a very long timeout (1000 hours). This PR updates the code to use no timeout when the deadline is zero. See the discussion in #895 for more details.
Gorilla WebSocket is a Go implementation of the WebSocket protocol.
The Gorilla WebSocket package provides a complete and tested implementation of the WebSocket protocol. The package API is stable.
go get github.com/gorilla/websocket
The Gorilla WebSocket package passes the server tests in the Autobahn Test Suite using the application in the examples/autobahn subdirectory.