Skip to content

Commit cc2d7bd

Browse files
committed
Server allows client to specify server_max_window_bits=15
1 parent 6c41690 commit cc2d7bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

accept.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,8 @@ func acceptDeflate(w http.ResponseWriter, ext websocketExtension, mode Compressi
258258
case "server_no_context_takeover":
259259
copts.serverNoContextTakeover = true
260260
continue
261+
case "server_max_window_bits=15":
262+
continue
261263
}
262264

263265
if strings.HasPrefix(p, "client_max_window_bits") {

0 commit comments

Comments
 (0)