Allow extensions when no protocol was specified.
This commit is contained in:
parent
85a092135e
commit
4c38f14527
1 changed files with 3 additions and 1 deletions
|
@ -1213,7 +1213,7 @@ select_protocol:
|
|||
wsi->c_callback = wsi->protocol->callback;
|
||||
free(wsi->c_protocol);
|
||||
|
||||
goto check_accept;
|
||||
goto check_extensions;
|
||||
}
|
||||
|
||||
while (*pc && !okay) {
|
||||
|
@ -1265,6 +1265,8 @@ select_protocol:
|
|||
}
|
||||
|
||||
|
||||
check_extensions:
|
||||
|
||||
/* instantiate the accepted extensions */
|
||||
|
||||
if (!wsi->utf8_token[WSI_TOKEN_EXTENSIONS].token_len) {
|
||||
|
|
Loading…
Add table
Reference in a new issue