Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
websocket.go: disable compression, for reasons
Browse files Browse the repository at this point in the history
Summary: It's unreliable
Long answer: See coder/websocket#218

Signed-off-by: Yonle <yonle@lecturify.net>
  • Loading branch information
Yonle committed Jul 28, 2024
1 parent 9eb1921 commit ea822cf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import (

var AcceptOptions = &websocket.AcceptOptions{
InsecureSkipVerify: true,
CompressionMode: websocket.CompressionContextTakeover,
}

func Accept_Websocket(w http.ResponseWriter, r *http.Request, ip string, ua string) {
Expand Down

0 comments on commit ea822cf

Please sign in to comment.