WebSocket support: relationship with the fasthttp org, and would an in-tree package be accepted?
I have two questions about WebSocket support.
1. Relationship between this project and the fasthttp GitHub organization
The README points to two WebSocket packages hosted by that organization:
github.com/fasthttp/websocket(gorilla-based). The last functional sync from gorilla is from December 2024, the last commit is a dependency bump from January 2025, and the dependency-update PRs opened in June and July 2026 are unmerged.github.com/fasthttp/fastws. The last commit is from June 2021.
The FAQ says WebSockets "has been done already" and links to github.com/fasthttp/websockets, which does not exist; the repository is websocket.
Are these packages maintained or endorsed by the fasthttp maintainers, and is either of them the recommended option today?
2. Would a WebSocket package in this repository be accepted?
I am considering contributing one as a subpackage alongside fasthttpadaptor and fasthttputil, built on RequestCtx.Hijack and fasthttp's own header handling instead of a net/http compatibility layer (#1930 asked about using coder/websocket, which needs such a layer). The API would be a new, small, context-aware design similar to coder/websocket rather than a port of gorilla: RFC 6455 client and server, optional permessage-deflate, Autobahn test suite, zero allocations on the frame path.
If you would prefer not to maintain this in the core repository, I would like to know whether reviving one of the organization's repositories or publishing a separate module is the better option.
- The fasthttp GitHub organization was created by users that aren't active anymore. The repo's there are kinda dead I'm afraid.
- I'm open to this since the other repos aren't maintained anymore. I guess it depends on how much code this will be.