libtorrent icon indicating copy to clipboard operation
libtorrent copied to clipboard

Respect min interval returned by the tracker for failed announces

Open kannibalox opened this issue 2 years ago • 1 comments

This changes the default values for the base class to 0, and relies on the successful parsing of an announce to set them to something sane. If the interval can't be parsed during a failure (from an unrelated failure or just the keys missing), it fails back to the original backoff behavior. However, in order to accommodate the previous logic without modifying the ABI, the backoff timeout is capped at 299 seconds instead of 320.

Fixes #1215

kannibalox avatar Sep 22 '23 02:09 kannibalox

@rakshasa please make this a high priority for private trackers

Pentaphon avatar Sep 30 '24 23:09 Pentaphon

Merged. #260

rakshasa avatar Nov 25 '24 16:11 rakshasa