Skip to content

Commit 15b8365

Browse files
committed
Justify lack of compression support
Closes #5
1 parent a696daf commit 15b8365

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ go get nhooyr.io/[email protected]
2727
## Roadmap
2828

2929
- [ ] WebSockets over HTTP/2 [#4](https://github.com/nhooyr/websocket/issues/4)
30-
- [ ] Deflate extension support [#5](https://github.com/nhooyr/websocket/issues/5)
3130

3231
## Examples
3332

@@ -89,6 +88,8 @@ c.Close(websocket.StatusNormalClosure, "")
8988
- net.Conn is never exposed as WebSocket over HTTP/2 will not have a net.Conn.
9089
- Using net/http's Client for dialing means we do not have to reinvent dialing hooks
9190
and configurations like other WebSocket libraries
91+
- We do not support the compression extension because Go's compress/flate library is very memory intensive
92+
and browsers do not handle WebSocket compression intelligently. See [#5](https://github.com/nhooyr/websocket/issues/5)
9293

9394
## Comparison
9495

0 commit comments

Comments
 (0)