Add retry on 504 Gateway Time-out and "connection closed before message completed" #198
Labels
external depedency no-op
External depedencies requires work with upstream provider and not this crate
Hi, I can see that requests are retried on a 429 too many requests status code. However on other error types there are no retries.
For example for 504 responses the response returns:
Similarly, I sometimes receive
Error: IncompleteMessage: connection closed before message completed
for some requests which are not retried. I believe this is a hyper issue: hyperium/hyper#2136The text was updated successfully, but these errors were encountered: