mirror of
https://github.com/transmission/transmission
synced 2025-02-22 06:00:41 +00:00
(trunk libT) #2828 "Better reporting of announce timeouts in tr_tracker_stat" -- implemented in trunk for 1.90
This commit is contained in:
parent
b5842c49f0
commit
9423821e7a
1 changed files with 2 additions and 3 deletions
|
@ -1219,9 +1219,10 @@ onAnnounceDone( tr_session * session,
|
|||
host->lastResponseInterval = now - data->timeSent;
|
||||
}
|
||||
|
||||
tier->lastAnnounceTime = now;
|
||||
|
||||
if( responseCode == HTTP_OK )
|
||||
{
|
||||
tier->lastAnnounceTime = now;
|
||||
success = parseAnnounceResponse( tier, response, responseLen, &gotScrape );
|
||||
dbgmsg( tier, "success is %d", success );
|
||||
}
|
||||
|
@ -1237,8 +1238,6 @@ onAnnounceDone( tr_session * session,
|
|||
tr_strlcpy( tier->lastAnnounceStr, buf,
|
||||
sizeof( tier->lastAnnounceStr ) );
|
||||
|
||||
tier->lastAnnounceTime = now;
|
||||
|
||||
/* if the response is serious, *and* if the response may require
|
||||
* human intervention, then notify the user... otherwise just log it */
|
||||
if( responseCode >= 400 )
|
||||
|
|
Loading…
Reference in a new issue