Skip to content

Commit 7cd5b02

Browse files
committed
Correct the release notes on 3xx handling
No SDK retries a 3xx: every one classifies it as non-retryable and reports a failed upload. The notes claimed it was retried, which is wrong, and would have sent anyone debugging a proxy redirect looking for retries that never happen. Also scopes python's 511 line to the OAuth case, which is the one place the spec does allow a 511 retry, and php's new budget options to the LibCurl consumer, since Socket ignores them.
1 parent 4414de6 commit 7cd5b02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎History.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ sent the write key as HTTP Basic credentials.
1414
* `Retry-After` accepts numeric seconds and the RFC 7231 HTTP-date formats, capped at 300s (`rate_limit_retry_after_cap`).
1515
* Rate-limited retries are bounded by elapsed time rather than counted against the retry limit, so a long `Retry-After` no longer exhausts the budget.
1616
* New options `max_total_backoff_duration` and `max_rate_limit_duration` (default 12 hours each) bound the two waits.
17-
* Only 2xx responses count as a successful upload. A 3xx is now logged and retried rather than silently treated as delivered; the Segment endpoint does not redirect, so this only affects custom `host` values.
17+
* Only 2xx responses count as a successful upload. A 3xx is now reported as a failed upload rather than silently treated as delivered. It is not retried: a redirect `Net::HTTP` already declined to follow will not succeed on a retry. The Segment endpoint does not redirect, so this only affects custom `host` values.
1818
* Network errors are retried on the same backoff schedule as failed responses instead of dropping the batch.
1919
* Backoff waits no longer block shutdown for the full delay.
2020
* Retry timing uses a monotonic clock, so a system clock change cannot stretch or collapse a backoff.

0 commit comments

Comments
 (0)