diff options
author | Mike Buland <eichlan@xagasoft.com> | 2023-07-31 15:17:52 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2023-07-31 15:17:52 -0700 |
commit | a49af97abf091a32f6ec2c3985aa0890ded65d9c (patch) | |
tree | 9332acb37ccaa1552bf273d2383d4a0292deea14 /src/unstable | |
parent | 9a7dde29dc1bc1f699508ad9c0335f4d7abf319f (diff) | |
download | libbu++-a49af97abf091a32f6ec2c3985aa0890ded65d9c.tar.gz libbu++-a49af97abf091a32f6ec2c3985aa0890ded65d9c.tar.bz2 libbu++-a49af97abf091a32f6ec2c3985aa0890ded65d9c.tar.xz libbu++-a49af97abf091a32f6ec2c3985aa0890ded65d9c.zip |
Debugging yet, but the new server works.
It at least seems to!
Diffstat (limited to 'src/unstable')
-rw-r--r-- | src/unstable/protocolwebsocket.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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 @@ | |||
21 | 21 | ||
22 | #include <stdlib.h> | 22 | #include <stdlib.h> |
23 | 23 | ||
24 | //#define DEBUG( X ) { } (void)0 | 24 | #define DEBUG( X ) { } (void)0 |
25 | #define DEBUG( X ) { X; } (void)0 | 25 | //#define DEBUG( X ) { X; } (void)0 |
26 | 26 | ||
27 | Bu::ProtocolWebSocket::ProtocolWebSocket() : | 27 | Bu::ProtocolWebSocket::ProtocolWebSocket() : |
28 | eStatus( stProtoId ) | 28 | eStatus( stProtoId ) |
@@ -120,6 +120,7 @@ void Bu::ProtocolWebSocket::writeMessage( const Bu::String &sData, | |||
120 | return; | 120 | return; |
121 | pClient->write( cHeader, idx ); | 121 | pClient->write( cHeader, idx ); |
122 | pClient->write( sData ); | 122 | pClient->write( sData ); |
123 | pClient->outputReady(); | ||
123 | } | 124 | } |
124 | 125 | ||
125 | bool Bu::ProtocolWebSocket::stateProtoId() | 126 | bool Bu::ProtocolWebSocket::stateProtoId() |