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