1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-10 09:02:45 -05:00

#1421 Use dynamic size send buffer.

This commit is contained in:
XMRig
2019-12-16 14:09:03 +07:00
parent 1d4c8dda96
commit 33e7a54c29
2 changed files with 12 additions and 13 deletions

View File

@@ -128,11 +128,11 @@ private:
static inline Client *getClient(void *data) { return m_storage.get(data); }
char m_sendBuf[4096] = { 0 };
const char *m_agent;
Dns *m_dns;
RecvBuf<kInputBufferSize> m_recvBuf;
std::bitset<EXT_MAX> m_extensions;
std::vector<char> m_sendBuf;
String m_rpcId;
Tls *m_tls = nullptr;
uint64_t m_expire = 0;