#1421 Use dynamic size send buffer.

This commit is contained in:
XMRig 2019-12-16 14:09:03 +07:00
parent 1d4c8dda96
commit 33e7a54c29
No known key found for this signature in database
GPG key ID: 446A53638BE94409
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;