8000 Make compression negotiation more lenient by abursavich · Pull Request #258 · coder/websocket · GitHub
[go: up one dir, main page]

Skip to content

Make compression negotiation more lenient #258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 13, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Server allows client to specify server_max_window_bits=15
  • Loading branch information
abursavich authored and nhooyr committed Oct 13, 2023
commit 2291d83f761e83e3cb3946529d59f38309212a16
2 changes: 2 additions & 0 deletions accept.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ func acceptDeflate(w http.ResponseWriter, ext websocketExtension, mode Compressi
case "server_no_context_takeover":
copts.serverNoContextTakeover = true
continue
case "server_max_window_bits=15":
continue
}

if strings.HasPrefix(p, "client_max_window_bits") {
Expand Down
0