Skip to content

Commit 5dd228a

Browse files
committed
compress.go: Add back comment about Safari compat layer being disabled
1 parent 7a37b6a commit 5dd228a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: compress.go

+6
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ import (
1212

1313
// CompressionMode represents the modes available to the deflate extension.
1414
// See https://tools.ietf.org/html/rfc7692
15+
//
16+
// A compatibility layer is implemented for the older deflate-frame extension used
17+
// by safari. See https://tools.ietf.org/html/draft-tyoshino-hybi-websocket-perframe-deflate-06
18+
// It will work the same in every way except that we cannot signal to the peer we
19+
// want to use no context takeover on our side, we can only signal that they should.
20+
// But it is currently disabled due to Safari bugs. See https://github.com/nhooyr/websocket/issues/218
1521
type CompressionMode int
1622

1723
const (

0 commit comments

Comments
 (0)