jech / galene

The Galène videoconference server
https://galene.org
MIT License
900 stars 119 forks source link

github.com/gorilla/websocket #126

Closed gedw99 closed 2 years ago

gedw99 commented 2 years ago

Is there any reason why this ws lib has to be used ?

I would like to change to https://pkg.go.dev/nhooyr.io/websocket ( https://github.com/nhooyr/websocket )

The API is a bit different from what gorilla/websocket offers, and one of the big advantages I see is that it solves a problem with a proper WebSocket closing handshake which is a bit hard to do right with Gorilla WebSocket ( https://github.com/gorilla/websocket/issues/448)

nhooyr also supports WASM which makes it possible to build WASM based clients.