forked from premiere/premiere-libtorrent
merge graceful pause fix from aio
This commit is contained in:
parent
6ea6bf9e92
commit
5aa85c9ca2
|
@ -1407,7 +1407,7 @@ namespace libtorrent
|
|||
disconnect_if_redundant();
|
||||
if (is_disconnecting()) return;
|
||||
|
||||
if (is_choked())
|
||||
if (is_choked() && !t->graceful_pause())
|
||||
{
|
||||
if (ignore_unchoke_slots())
|
||||
{
|
||||
|
@ -1453,6 +1453,12 @@ namespace libtorrent
|
|||
}
|
||||
#endif
|
||||
}
|
||||
#if defined TORRENT_VERBOSE_LOGGING
|
||||
else if (t->graceful_pause())
|
||||
{
|
||||
peer_log("DID NOT UNCHOKE [ graceful pause mode ]");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
// -----------------------------
|
||||
|
|
Loading…
Reference in New Issue