v08 receiver ignore frame with unhandled ext opcode
Signed-off-by: Andy Green <andy@warmcat.com>
This commit is contained in:
parent
815fa23a98
commit
25a56b0ac3
1 changed files with 6 additions and 8 deletions
|
@ -777,12 +777,9 @@ spill:
|
|||
handled = 1;
|
||||
}
|
||||
|
||||
if (!handled) {
|
||||
/* kill the connection */
|
||||
if (!handled)
|
||||
fprintf(stderr, "Unhandled extended opcode "
|
||||
"0x%x\n", wsi->opcode);
|
||||
return -1;
|
||||
}
|
||||
"0x%x - ignoring frame\n", wsi->opcode);
|
||||
|
||||
wsi->rx_user_buffer_head = 0;
|
||||
return 0;
|
||||
|
@ -1242,10 +1239,11 @@ spill:
|
|||
}
|
||||
|
||||
if (!handled) {
|
||||
/* kill the connection */
|
||||
fprintf(stderr, "Unhandled extended opcode "
|
||||
"0x%x\n", wsi->opcode);
|
||||
return -1;
|
||||
"0x%x - ignoring frame\n", wsi->opcode);
|
||||
wsi->rx_user_buffer_head = 0;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue