forked from premiere/premiere-libtorrent
merged lsd fix from RC_0_16
This commit is contained in:
parent
6d07af3b57
commit
3f693255c8
|
@ -54,6 +54,7 @@
|
|||
* fix uTP edge case where udp socket buffer fills up
|
||||
* fix nagle implementation in uTP
|
||||
|
||||
* fix local service discovery for magnet links
|
||||
* fix bitfield issue in file_storage
|
||||
* added work-around for MingW issue in file I/O
|
||||
* fixed sparse file detection on windows
|
||||
|
|
|
@ -2085,8 +2085,9 @@ namespace libtorrent
|
|||
if (m_abort) return;
|
||||
|
||||
// if the files haven't been checked yet, we're
|
||||
// not ready for peers
|
||||
if (!m_files_checked) return;
|
||||
// not ready for peers. Except, if we don't have metadata,
|
||||
// we need peers to download from
|
||||
if (!m_files_checked && valid_metadata()) return;
|
||||
|
||||
if (!m_announce_to_lsd) return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue