修复websocket服务器可能存在的bug

This commit is contained in:
xiongziliang 2020-04-30 10:31:32 +08:00
parent c64d1a3ad8
commit 787081eb0c

View File

@ -205,7 +205,7 @@ protected:
* @param buffer
*/
void onWebSocketEncodeData(const Buffer::Ptr &buffer) override{
SocketHelper::send(buffer);
HttpSessionType::send(buffer);
}
private:
string _remian_data;