mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-20 04:50:52 +08:00
修复websocket服务器可能存在的bug
This commit is contained in:
@@ -205,7 +205,7 @@ protected:
|
||||
* @param buffer
|
||||
*/
|
||||
void onWebSocketEncodeData(const Buffer::Ptr &buffer) override{
|
||||
SocketHelper::send(buffer);
|
||||
HttpSessionType::send(buffer);
|
||||
}
|
||||
private:
|
||||
string _remian_data;
|
||||
|
||||
Reference in New Issue
Block a user