diff --git a/src/TNetwork.cpp b/src/TNetwork.cpp index e88ac53..be5c10b 100644 --- a/src/TNetwork.cpp +++ b/src/TNetwork.cpp @@ -882,7 +882,7 @@ bool TNetwork::SendLarge(TClient& c, std::vector Data, bool isSync) { bool TNetwork::Respond(TClient& c, const std::vector& MSG, bool Rel, bool isSync) { char C = MSG.at(0); - if (Rel || C == 'W' || C == 'Y' || C == 'V' || C == 'E') { + if (Rel || C == 'W' || C == 'Y' || C == 'V' || C == 'E' || compressBound(MSG.size()) > 1024) { if (C == 'O' || C == 'T' || MSG.size() > 1000) { return SendLarge(c, MSG, isSync); } else {