channel state fix

This commit is contained in:
Arvid Norberg
2011-10-27 08:42:51 +00:00
parent 602e0089f9
commit becd714bc8

View File

@@ -5773,7 +5773,7 @@ namespace libtorrent
// if the last send has not completed yet, do not send a keep // if the last send has not completed yet, do not send a keep
// alive // 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 #ifdef TORRENT_VERBOSE_LOGGING
peer_log("==> KEEPALIVE"); peer_log("==> KEEPALIVE");