koding / websocketproxy

WebSocket reverse proxy handler for Go
http://godoc.org/github.com/koding/websocketproxy
MIT License
427 stars 120 forks source link

Add mutex locks to prevent concurrent read-write issues #46

Open ankur-lt opened 1 year ago

ankur-lt commented 1 year ago

The current implementation of WebSocket proxy is prone to panics caused by concurrent reads and writes. The library should handle these issues by using appropriate locks.