good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 136f9544 authored by Andy Bursavich's avatar Andy Bursavich Committed by Anmol Sethi
Browse files

Client allows server to specify server_max_window_bits

parent 81afa8a3
No related branches found
No related tags found
No related merge requests found
......@@ -273,6 +273,10 @@ func verifyServerExtensions(copts *compressionOptions, h http.Header) (*compress
copts.serverNoContextTakeover = true
continue
}
if strings.HasPrefix(p, "server_max_window_bits=") {
// We can't adjust the deflate window, but decoding with a larger window is acceptable.
continue
}
return nil, fmt.Errorf("unsupported permessage-deflate parameter: %q", p)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment