Add new line for proxy connection in order to support tcp paket splitting
This commit is contained in:
parent
836e0a5e14
commit
1e2d4b33cf
@ -48,7 +48,7 @@ void CloudTransport::sendData(const QUuid &clientId, const QByteArray &data)
|
||||
qCDebug(dcCloudTraffic()) << "Sending data" << clientId << data;
|
||||
foreach (const ConnectionContext &ctx, m_connections) {
|
||||
if (ctx.clientId == clientId) {
|
||||
ctx.proxyConnection->sendData(data);
|
||||
ctx.proxyConnection->sendData(data + '\n');
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user