channel state fix
This commit is contained in:
parent
602e0089f9
commit
becd714bc8
|
@ -5773,7 +5773,7 @@ namespace libtorrent
|
|||
|
||||
// if the last send has not completed yet, do not send a keep
|
||||
// alive
|
||||
if (m_channel_state[upload_channel] != peer_info::bw_idle) return;
|
||||
if (m_channel_state[upload_channel] & peer_info::bw_network) return;
|
||||
|
||||
#ifdef TORRENT_VERBOSE_LOGGING
|
||||
peer_log("==> KEEPALIVE");
|
||||
|
|
Loading…
Reference in New Issue