(trunk libT) #4914 if a tracker has no scrape URL but the announce response contains any scrape fields, that's as close to a scrape as we're going to get, so use those fields.
This commit is contained in:
parent
32f846c1a6
commit
f226d8a03f
|
@ -1143,7 +1143,7 @@ on_announce_done( const tr_announce_response * response,
|
|||
|
||||
/* if the tracker included scrape fields in its announce response,
|
||||
then a separate scrape isn't needed */
|
||||
if( scrape_fields >= 3 )
|
||||
if( ( scrape_fields >= 3 ) || ( !tracker->scrape && ( scrape_fields >= 1 ) ) )
|
||||
{
|
||||
tr_tordbg( tier->tor, "Announce response contained scrape info; "
|
||||
"rescheduling next scrape to %d seconds from now.",
|
||||
|
|
Loading…
Reference in New Issue