forked from premiere/premiere-libtorrent
no peers from tracker when stopping is no longer an error
This commit is contained in:
parent
fc0916d450
commit
2e4d370942
|
@ -43,6 +43,7 @@
|
|||
incoming connection
|
||||
* added more detailed instrumentation of the disk I/O thread
|
||||
|
||||
* no peers from tracker when stopping is no longer an error
|
||||
* improved web seed retry behavior
|
||||
* fixed announce issue
|
||||
|
||||
|
|
|
@ -464,7 +464,9 @@ namespace libtorrent
|
|||
lazy_entry const* ipv6_peers = 0;
|
||||
#endif
|
||||
|
||||
if (peers_ent == 0 && ipv6_peers == 0)
|
||||
// if we didn't receive any peers. We don't care if we're stopping anyway
|
||||
if (peers_ent == 0 && ipv6_peers == 0
|
||||
&& tracker_req().event != tracker_request::stopped)
|
||||
{
|
||||
fail(error_code(errors::invalid_peers_entry), -1, ""
|
||||
, interval, min_interval);
|
||||
|
|
Loading…
Reference in New Issue