Skip to content
Snippets Groups Projects
Commit 5c9fcacd authored by Andy Green's avatar Andy Green
Browse files

test client have u option also reject deflate stream

parent da3f6ffd
Branches
Tags
No related merge requests found
......@@ -90,6 +90,10 @@ callback_dumb_increment(struct libwebsocket_context *this,
fprintf(stderr, "denied deflate-stream extension\n");
return 1;
}
if ((strcmp(in, "deflate-frame") == 0) && deny_deflate) {
fprintf(stderr, "denied deflate-frame extension\n");
return 1;
}
if ((strcmp(in, "x-google-mux") == 0) && deny_mux) {
fprintf(stderr, "denied x-google-mux extension\n");
return 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment