forked from premiere/premiere-libtorrent
fix optimistic unchoke when there is no metadata
This commit is contained in:
parent
d179280da2
commit
0074b10b88
|
@ -1528,7 +1528,8 @@ namespace aux {
|
|||
&& !p->is_disconnecting()
|
||||
&& p->is_peer_interested()
|
||||
&& t->free_upload_slots()
|
||||
&& p->is_choked())
|
||||
&& p->is_choked()
|
||||
&& t->valid_metadata())
|
||||
{
|
||||
last_unchoke = pi->last_optimistically_unchoked;
|
||||
optimistic_unchoke_candidate = i;
|
||||
|
|
Loading…
Reference in New Issue