mirror of
https://github.com/narrrl/proton-sdk-rs.git
synced 2026-12-03 20:51:50 +01:00
A timeout, or a 504 from a gateway, can come after the server acted on a request. Repeating a write then met the first attempt's result: a folder creation whose answer was slow failed with AlreadyExists for the folder the first attempt made. Writes are now retried only when they were not acted on (a failed connection, 408, 429, 502, 503). Block uploads, which can be repeated safely, get their own Replay::Idempotent and keep retrying on a timeout; reads are unchanged. Found with the self-hosted server's stall fault. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>