From a49af97abf091a32f6ec2c3985aa0890ded65d9c Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 31 Jul 2023 15:17:52 -0700 Subject: Debugging yet, but the new server works. It at least seems to! --- src/unstable/protocolwebsocket.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/unstable') diff --git a/src/unstable/protocolwebsocket.cpp b/src/unstable/protocolwebsocket.cpp index fa2d882..2bec1ce 100644 --- a/src/unstable/protocolwebsocket.cpp +++ b/src/unstable/protocolwebsocket.cpp @@ -21,8 +21,8 @@ #include -//#define DEBUG( X ) { } (void)0 -#define DEBUG( X ) { X; } (void)0 +#define DEBUG( X ) { } (void)0 +//#define DEBUG( X ) { X; } (void)0 Bu::ProtocolWebSocket::ProtocolWebSocket() : eStatus( stProtoId ) @@ -120,6 +120,7 @@ void Bu::ProtocolWebSocket::writeMessage( const Bu::String &sData, return; pClient->write( cHeader, idx ); pClient->write( sData ); + pClient->outputReady(); } bool Bu::ProtocolWebSocket::stateProtoId() -- cgit v1.2.3