mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 03:31:45 +08:00
初步完成WebSocket
This commit is contained in:
@@ -21,6 +21,10 @@ splitPacket:
|
||||
_remain_data.erase(0, index + 4);
|
||||
}
|
||||
|
||||
if(_remain_data.empty()){
|
||||
return;
|
||||
}
|
||||
|
||||
if(_content_len > 0){
|
||||
//数据按照固定长度content处理
|
||||
if(_remain_data.size() < _content_len){
|
||||
|
||||
Reference in New Issue
Block a user