websocket 添加ping消息处理
This commit is contained in:
parent
600bba2be2
commit
27ecd5c940
@ -212,9 +212,11 @@ namespace a8
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (opcode != BINARY_MODE) {
|
if (opcode != BINARY_MODE) {
|
||||||
|
if (opcode != WEBSOCKET_FRAME_PING) {
|
||||||
Close();
|
Close();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (!is_final_frame) {
|
if (!is_final_frame) {
|
||||||
Close();
|
Close();
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user