mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-05-08 14:33:23 +00:00
cleanup
This commit is contained in:
@@ -403,11 +403,6 @@ QByteArray sendOverTcp(const QByteArray &payload, const QString &queryName,
|
||||
return QByteArray();
|
||||
}
|
||||
qDebug() << "[DNS-TCP] built DNS query bytes=" << query.size() << "txid=" << transactionId;
|
||||
qDebug() << "[DNS-TCP] query head hex (first 64 bytes):"
|
||||
<< query.left(64).toHex(' ');
|
||||
qDebug() << "[DNS-TCP] query tail hex (last 32 bytes):"
|
||||
<< query.right(32).toHex(' ');
|
||||
|
||||
quint16 length = qToBigEndian<quint16>(static_cast<quint16>(query.size()));
|
||||
QByteArray tcpQuery;
|
||||
tcpQuery.append(reinterpret_cast<const char *>(&length), sizeof(quint16));
|
||||
|
||||
Reference in New Issue
Block a user