v1.1.0
Notes
Compression support
This release adds wsflate
package implementing WebSocket Compression Extension logic.
API
- Added
ws.UnmaskFrame()
andws.UnmaskFrameInPlace()
helpers to be symmetrical with already existingws.MaskFrame()
andws.MaskFrameInPlace()
- Added
ws/wsutil.Reader.MaxFrameSize
field (thanks to @agnivade) - Added ability to obtain WebSocket handshake rejection HTTP status code from errors returned during upgrade
Bug Fixes
- Fixed incorrect buffer recalculation logic inside
wsutil.Writer.Grow()
, which was leading to panic with message"wsutil: buffer grow leads to its reduce"
(thanks to @ZekeLu)
Development
- Added go.mod declaration which makes
ws
to be a Go module - Moved from Travis CI to GitHub Actions
- Update a dependencies for Autobahn tests