{"full_name":"gorilla/websocket","owner":"gorilla","name":"websocket","shard":"1","url":"https://github.com/gorilla/websocket","description":"Package gorilla/websocket is a fast, well-tested and widely used WebSocket implementation for Go.","homepage":"https://gorilla.github.io","topics":["go","websocket","golang","gorilla","gorilla-web-toolkit","websockets"],"tag_pages":["go","golang","websocket","websockets"],"language":"Go","license":"BSD-2-Clause","avatar":"https://avatars.githubusercontent.com/u/489566?v=4","created_at":"2013-10-16T16:41:46Z","pushed_at":"2025-03-19T13:29:08Z","metrics":{"stars":24882,"forks":3582,"watchers":368,"issues":667,"prs":356,"releases":11,"issues_open":49,"issues_closed":618,"prs_open":37,"prs_closed":152,"prs_merged":167,"discussions":8},"growth":{"day":{"stars":-1,"forks":1,"base_day":"2026-11-15"},"week":{"stars":-3,"forks":-2,"base_day":"2026-11-04"},"month":{"stars":8,"forks":-10,"base_day":"2026-10-17"}},"history":{"dates":["2026-09-06","2026-09-07","2026-09-08","2026-09-09","2026-09-10","2026-09-11","2026-09-12","2026-09-13","2026-09-14","2026-09-15","2026-09-16","2026-09-17","2026-09-18","2026-09-19","2026-09-20","2026-09-21","2026-09-22","2026-09-23","2026-09-24","2026-09-25","2026-09-26","2026-09-27","2026-09-28","2026-09-29","2026-09-30","2026-10-01","2026-10-02","2026-10-03","2026-10-04","2026-10-05","2026-10-06","2026-10-07","2026-10-08","2026-10-09","2026-10-10","2026-10-11","2026-10-12","2026-10-13","2026-10-14","2026-10-15","2026-10-16","2026-10-17","2026-10-18","2026-10-19","2026-10-20","2026-10-21","2026-10-22","2026-10-23","2026-10-24","2026-10-25","2026-10-26","2026-10-27","2026-10-28","2026-10-29","2026-10-30","2026-10-31","2026-11-01","2026-11-02","2026-11-03","2026-11-04","2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[24863,24863,24864,24865,24866,24866,24867,24868,24868,24869,24871,24869,24868,24869,24869,24868,24869,24870,24869,24869,24873,24874,24878,24877,24879,24879,24881,24883,24882,24882,24883,24881,24882,24878,24878,24873,24873,24873,24870,24875,24875,24874,24873,24877,24875,24877,24879,24879,24880,24881,24882,24882,24883,24882,24882,24882,24882,24881,24883,24885,24882,24884,24884,24883,24883,24883,24882],"forks":[3588,3589,3589,3589,3589,3589,3589,3589,3589,3587,3588,3588,3589,3589,3589,3589,3589,3590,3589,3589,3589,3590,3591,3593,3596,3596,3593,3593,3592,3592,3593,3594,3593,3593,3592,3593,3593,3593,3593,3593,3593,3592,3593,3592,3592,3593,3593,3592,3591,3590,3591,3591,3591,3587,3586,3586,3586,3584,3584,3584,3582,3582,3582,3582,3582,3581,3582],"watchers":[372,372,373,373,373,373,373,372,372,372,372,371,371,371,371,371,371,371,371,371,371,371,371,371,371,371,371,371,371,371,371,371,371,371,371,371,371,371,371,371,371,371,370,370,370,370,370,370,370,368,368,368,368,368,368,368,368,368,368,368,null,368,368,368,368,368,368],"issues_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,46,46,46,46,49,49],"prs_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,37,37,37,37,37,37]},"boards":{},"same_owner":[{"full_name":"gorilla/mux","name":"mux","shard":"1","boards":{}}],"issues":[{"number":203,"title":"Increase in memory usage when compression is on","comments":44,"created_at":"2017-01-11T19:01:32Z"},{"number":828,"title":"[question] concurrent write to websocket connection with mutex.Lock()","comments":19,"created_at":"2022-11-18T12:48:59Z"},{"number":859,"title":"[BUG] websocket on compress close duplicate","comments":16,"created_at":"2023-10-30T14:13:09Z"},{"number":481,"title":"Support evented read","comments":14,"created_at":"2019-02-15T04:03:32Z"},{"number":866,"title":"Websocket ping pong timeout","comments":8,"created_at":"2023-11-14T06:52:08Z"},{"number":674,"title":"[bug] Cannot Add Sec-Websocket-Extensions header field as a client","comments":12,"created_at":"2021-03-17T10:01:33Z"},{"number":417,"title":"Websockets over HTTP/2","comments":11,"created_at":"2018-08-26T17:07:05Z"},{"number":474,"title":"Add softer ReadMessage timeout mechanism that only cancels the operation and doesn't corrupt the entire connection","comments":10,"created_at":"2019-01-27T22:21:44Z"}],"discussions":[{"number":1003,"title":"Is the package actively maintained or should we seek alternatives?","comments":0,"category":"General","created_at":"2025-10-06T14:04:58Z"},{"number":987,"title":"Gorilla Websocket Package with Go 1.24 FIPS 140-3","comments":0,"category":"General","created_at":"2025-05-20T14:11:50Z"},{"number":974,"title":"Pattern for connecting one to one between two http routes?","comments":0,"category":"General","created_at":"2025-01-21T17:50:23Z"},{"number":968,"title":"Seeking guide on ws 10k implementation","comments":1,"category":"Q&A","created_at":"2024-12-03T12:52:38Z"},{"number":963,"title":"Cannot send a message larger than 4096 bytes","comments":2,"category":"Q&A","created_at":"2024-10-07T19:18:09Z"},{"number":961,"title":"SetReadDeadline - Chat example (remove idle clients)","comments":5,"category":"Q&A","created_at":"2024-09-21T18:53:25Z"},{"number":954,"title":"Welcome to websocket Discussions!","comments":0,"category":"Announcements","created_at":"2024-08-30T11:43:16Z"},{"number":955,"title":"websocket: bad handshake  403 Forbidden","comments":3,"category":"General","created_at":"2024-08-13T09:44:43Z"}],"latest_release":{"name":"v1.5.3","tag":"v1.5.3","published_at":"2024-06-14T03:22:21Z","body":"## Important change\r\nThis reverts the websockets package back to https://github.com/gorilla/websocket/commit/931041c5ee6de24fe9cba1aa16f1a0b910284d6d\r\n\r\n## What's Changed\r\n* Fixes subprotocol selection (aling with rfc6455) by @KSDaemon in https://github.com/gorilla/websocket/pull/823\r\n* Update README.md, replace master to main by @mstmdev in https://github.com/gorilla/websocket/pull/862\r\n* Use status code constant by @mstmdev in https://github.com/gorilla/websocket/pull/864\r\n* conn.go: default close handler should not return ErrCloseSent. by @pnx in https://github.com/gorilla/websocket/pull/865\r\n* fix: replace ioutil.readfile with os.readfile by @rfyiamcool in https://github.com/gorilla/websocket/pull/868\r\n* fix: add comment for the readBufferSize and writeBufferSize by @rfyiamcool in https://github.com/gorilla/websocket/pull/869\r\n* Remove noisy printf in NextReader() and beginMessage() by @bcreane in https://github.com/gorilla/websocket/pull/878\r\n* docs(echoreadall): fix function echoReadAll comment by @XdpCs in https://github.com/gorilla/websocket/pull/881\r\n* make tests parallel by @ninedraft in https://github.com/gorilla/websocket/pull/872\r\n* Upgrader.Upgrade: use http.ResposnseController by @ninedraft in https://github.com/gorilla/websocket/pull/871\r\n* Do not handle network error in `SetCloseHandler()` by @nak3 in https://github.com/gorilla/websocket/pull/863\r\n* perf: reduce timer in write_control by @rfyiamcool in https://github.com/gorilla/websocket/pull/879\r\n* fix: lint example code by @rfyiamcool in https://github.com/gorilla/websocket/pull/890\r\n* feat: format message type by @rfyiamcool in https://github.com/gorilla/websocket/pull/889\r\n* Remove hideTempErr to allow downstream users to check for errors like net.ErrClosed by @UnAfraid in https://github.com/gorilla/websocket/pull/894\r\n* Do not timeout when WriteControl deadline is zero in https://github.com/gorilla/websocket/pull/898\r\n* Excludes errchecks linter by @apoorvajagtap in https://github.com/gorilla/websocket/pull/904\r\n* Return errors instead of printing to logs by @apoorvajagtap in https://github.com/gorilla/websocket/pull/897\r\n* Revert \" Update go version & add verification/testing tools (#840)\" by @apoorvajagtap in https://github.com/gorilla/websocket/pull/908\r\n* Fixes broken random value generation by @apoorvajagtap in https://github.com/gorilla/websocket/pull/926\r\n* Reverts back to v1.5.0 by @apoorvajagtap in https://github.com/gorilla/websocket/pull/929\r\n\r\n## New Contributors\r\n* @KSDaemon made their first contribution in https://github.com/gorilla/websocket/pull/823\r\n* @mstmdev made their first contribution in https://github.com/gorilla/websocket/pull/862\r\n* @pnx made their first contribution in https://github.com/gorilla/websocket/pull/865\r\n* @rfyiamcool made their first contribution in https://github.com/gorilla/websocket/pull/868\r\n* @bcreane made their first contribution in https://github.com/gorilla/websocket/pull/878\r\n* @XdpCs made their first contribution in https://github.com/gorilla/websocket/pull/881\r\n* @ninedraft made their first contribution in https://github.com/gorilla/websocket/pull/872\r\n* @nak3 made their first contribution in https://github.com/gorilla/websocket/pull/863\r\n* @UnAfraid made their first contribution in https://github.com/gorilla/websocket/pull/894\r\n* @apoorvajagtap made their first contribution in https://github.com/gorilla/websocket/pull/904\r\n\r\n**Full Changelog**: https://github.com/gorilla/websocket/compare/v1.5.1...v1.5.3","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}