forked from premiere/premiere-libtorrent
merged torrent_handle::status fix from RC_0_16
This commit is contained in:
parent
d9b37f05cc
commit
2c3e4703fb
|
@ -10,6 +10,7 @@
|
|||
* fix uTP edge case where udp socket buffer fills up
|
||||
* fix nagle implementation in uTP
|
||||
|
||||
* take torrent_handle::query_pieces into account in torrent_handle::statue()
|
||||
* honor trackers responding with 410
|
||||
* fixed merkle tree torrent creation bug
|
||||
* fixed crash with empty url-lists in torrent files
|
||||
|
|
|
@ -8647,7 +8647,7 @@ namespace libtorrent
|
|||
#endif
|
||||
}
|
||||
|
||||
if (has_picker())
|
||||
if (has_picker() && (flags & torrent_handle::query_pieces))
|
||||
{
|
||||
st->sparse_regions = m_picker->sparse_regions();
|
||||
int num_pieces = m_picker->num_pieces();
|
||||
|
|
Loading…
Reference in New Issue