Changeset 5292
- Timestamp:
- Mar 18, 2008, 7:33:08 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/tracker.c
r5285 r5292 513 513 else if( 300<=responseCode && responseCode<=399 ) 514 514 { 515 dbgmsg( t, "got a redirect; retrying immediately" ); 515 const int interval = 20; 516 dbgmsg( t, "got a redirect. retrying in %d seconds", interval ); 516 517 517 518 /* it's a redirect... updateAddresses() has already 518 519 * parsed the redirect, all that's left is to retry */ 519 t->reannounceAt = time( NULL ) ;520 t->reannounceAt = time( NULL ) + interval; 520 521 t->manualAnnounceAllowedAt = time( NULL ) + t->announceMinIntervalSec; 521 522 }
Note: See TracChangeset
for help on using the changeset viewer.