allow extensions for parsing
Signed-off-by: Andy Green <andy@warmcat.com>
This commit is contained in:
parent
4cd87a0bd9
commit
6e5f95e401
1 changed files with 0 additions and 5 deletions
|
@ -252,11 +252,6 @@ handshake_0405(struct libwebsocket *wsi)
|
|||
goto bail;
|
||||
}
|
||||
|
||||
if (wsi->utf8_token[WSI_TOKEN_EXTENSIONS].token_len) {
|
||||
fprintf(stderr, "extensions not supported\n");
|
||||
goto bail;
|
||||
}
|
||||
|
||||
if (wsi->utf8_token[WSI_TOKEN_KEY].token_len >=
|
||||
MAX_WEBSOCKET_04_KEY_LEN) {
|
||||
fprintf(stderr, "Client sent handshake key longer "
|
||||
|
|
Loading…
Add table
Reference in a new issue