mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 03:59:41 +00:00
Temporary disable TCP keepalive for Windows, fixes Windows XP support.
This commit is contained in:
parent
77d9beaf89
commit
91ed7e36cd
1 changed files with 3 additions and 0 deletions
|
@ -261,7 +261,10 @@ void Client::connect(struct sockaddr *addr)
|
|||
|
||||
uv_tcp_init(uv_default_loop(), m_socket);
|
||||
uv_tcp_nodelay(m_socket, 1);
|
||||
|
||||
# ifndef WIN32
|
||||
uv_tcp_keepalive(m_socket, 1, 60);
|
||||
# endif
|
||||
|
||||
uv_tcp_connect(req, m_socket, (const sockaddr*) addr, Client::onConnect);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue