添加websocket close处理
This commit is contained in:
parent
24f2912dbf
commit
d3484d57a8
@ -174,6 +174,10 @@ namespace a8
|
|||||||
bool opcode_is_control = opcode & 0x8;
|
bool opcode_is_control = opcode & 0x8;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (opcode == WEBSOCKET_FRAME_CLOSE) {
|
||||||
|
Close();
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (!is_final_frame) {
|
if (!is_final_frame) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user