mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 12:37:09 +08:00
修复websocket服务器可能存在的bug
This commit is contained in:
parent
c64d1a3ad8
commit
787081eb0c
@ -205,7 +205,7 @@ protected:
|
|||||||
* @param buffer
|
* @param buffer
|
||||||
*/
|
*/
|
||||||
void onWebSocketEncodeData(const Buffer::Ptr &buffer) override{
|
void onWebSocketEncodeData(const Buffer::Ptr &buffer) override{
|
||||||
SocketHelper::send(buffer);
|
HttpSessionType::send(buffer);
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
string _remian_data;
|
string _remian_data;
|
||||||
|
Loading…
Reference in New Issue
Block a user