libtorrent
libtorrent copied to clipboard
Respect min interval returned by the tracker for failed announces
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
@rakshasa please make this a high priority for private trackers
Merged. #260