Skip to content

Commit

Permalink
https://telecominfraproject.atlassian.net/browse/WIFI-12947
Browse files Browse the repository at this point in the history
Signed-off-by: stephb9959 <[email protected]>
  • Loading branch information
stephb9959 committed Sep 25, 2023
1 parent 33e010b commit 334728c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rttys/RTTYS_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ namespace OpenWifi {
}

int flags;
unsigned char FrameBuffer[1024];
unsigned char FrameBuffer[64000];

auto ReceivedBytes = Connection->WSSocket_->receiveFrame(FrameBuffer, sizeof(FrameBuffer), flags);
auto Op = flags & Poco::Net::WebSocket::FRAME_OP_BITMASK;
Expand Down Expand Up @@ -632,6 +632,7 @@ namespace OpenWifi {
}
} break;
case Poco::Net::WebSocket::FRAME_OP_BINARY: {
DBGLINE
if (ReceivedBytes == 0) {
EndConnection(Connection,__func__,__LINE__);
return;
Expand Down

0 comments on commit 334728c

Please sign in to comment.