test client have u option also reject deflate stream
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
da3f6ffdbf
commit
5c9fcacd7a
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue