Skip to content

Commit

Permalink
compress.go: Add back comment about Safari compat layer being disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
nhooyr committed Sep 28, 2023
1 parent 260b77f commit 5af2485
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions compress.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ import (

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

const (
Expand Down

0 comments on commit 5af2485

Please sign in to comment.