diff --git a/ChangeLog b/ChangeLog index 684d7aaa4..e92d31665 100644 --- a/ChangeLog +++ b/ChangeLog @@ -43,6 +43,8 @@ incoming connection * added more detailed instrumentation of the disk I/O thread + * fixed announce issue + 0.15.3 release * fixed announce bug where event=completed would not be sent if it violated the diff --git a/src/torrent_info.cpp b/src/torrent_info.cpp index 1fa88c14d..f103f8070 100644 --- a/src/torrent_info.cpp +++ b/src/torrent_info.cpp @@ -422,10 +422,10 @@ namespace libtorrent { // if we're a seed and we haven't sent a completed // event, we need to let this announce through - if (is_seed && !complete_sent) return true; + bool need_send_complete = is_seed && !complete_sent; return now >= next_announce - && now >= min_announce + && (now >= min_announce || need_send_complete) && (fails < fail_limit || fail_limit == 0) && !updating; }