#550 WebSocket fragmented message problem

This commit is contained in:
Guenter Obiltschnig
2014-10-02 20:24:50 +02:00
parent 84adc737d4
commit cd67863852
3 changed files with 4 additions and 1 deletions

View File

@@ -101,6 +101,7 @@ void WebSocket::shutdown(Poco::UInt16 statusCode, const std::string& statusMessa
int WebSocket::sendFrame(const void* buffer, int length, int flags)
{
flags |= FRAME_OP_SETRAW;
return static_cast<WebSocketImpl*>(impl())->sendBytes(buffer, length, flags);
}