Skip to content

fix(transport): never resend a timed-out POST and retry busy idempotent requests - #12

Merged
batuhanisildak-malwation merged 1 commit into
mainfrom
fix/transport-retries
Oct 19, 2026
Merged

batuhanisildak-malwation merged 1 commit into
mainfrom
fix/transport-retries

Conversation

@batuhanisildak-malwation

Copy link
Copy Markdown
Contributor

A POST that times out after it was sent is no longer sent again, so an upload cannot make a duplicate submission. GET, PUT and DELETE requests and downloads retry on 429 and 503 after the Retry-After wait, at most 60 seconds and max_retries times. Download errors keep their error code.

Also adds list_envelope=True (opt-in envelope=1), the total of the SHA256 search, and attribution on the exfil request list. The fake API supports the envelope. Tests use mock transports, no network calls.

…nt requests

Retry 429 and 503 on GET, PUT and DELETE after the Retry-After wait, keep the error code of downloads, and add the opt-in list envelope.
@batuhanisildak-malwation
batuhanisildak-malwation merged commit c58ab00 into main Oct 19, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant