fixed bug where one allowed-fast message would be sent even when disabled
This commit is contained in:
@@ -73,6 +73,8 @@ release 0.14.5
|
||||
the resume data
|
||||
* fixed resume data compatibility with 0.13
|
||||
* fixed rare piece-picker bug
|
||||
* fixed bug where one allowed-fast message would be sent even when
|
||||
disabled
|
||||
|
||||
release 0.14.4
|
||||
|
||||
|
@@ -448,6 +448,8 @@ namespace libtorrent
|
||||
}
|
||||
|
||||
int num_allowed_pieces = m_ses.settings().allowed_fast_set_size;
|
||||
if (num_allowed_pieces == 0) return;
|
||||
|
||||
int num_pieces = t->torrent_file().num_pieces();
|
||||
|
||||
if (num_allowed_pieces >= num_pieces)
|
||||
|
Reference in New Issue
Block a user