屏蔽使用自定义WebSocketSessionBase创建http server时ws收数据崩溃问题(原因未定位)

This commit is contained in:
baiyfcu 2024-04-03 14:35:13 +08:00
parent e9887c6cd9
commit 584944d777
1 changed files with 2 additions and 1 deletions

View File

@ -203,7 +203,8 @@ protected:
}
//分片缓存太大,需要清空
}
if (!_session)
break;
//最后一个包
if (_payload_cache.empty()) {
//这个包是唯一个分片