mirror of
https://github.com/monero-project/monero.git
synced 2025-08-15 06:15:38 -04:00
Merge pull request #812
3102feb
abstract_tcp_server2: fix send queue limit warning spam (moneromooo-monero)6bca9a8
abstract_tcp_server2: avoid deadlock waiting for send queue to drain (moneromooo-monero)7450656
net_node: fix connection leak when ping fails with bad response (moneromooo-monero)
This commit is contained in:
commit
0fb0e7701b
2 changed files with 7 additions and 3 deletions
|
@ -1319,6 +1319,7 @@ namespace nodetool
|
|||
if(rsp.status != PING_OK_RESPONSE_STATUS_TEXT || pr != rsp.peer_id)
|
||||
{
|
||||
LOG_PRINT_CC_L2(ping_context, "back ping invoke wrong response \"" << rsp.status << "\" from" << ip << ":" << port << ", hsh_peer_id=" << pr_ << ", rsp.peer_id=" << rsp.peer_id);
|
||||
m_net_server.get_config_object().close(ping_context.m_connection_id);
|
||||
return;
|
||||
}
|
||||
m_net_server.get_config_object().close(ping_context.m_connection_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue