lychee/lychee-bin
Matthias Endler 2255ad9286
Better retry handling (#981)
Previously, lychee would blindly retry all requests,
no matter if the request error was transient or fatal.

Taking a lesson from https://github.com/TrueLayer/reqwest-middleware,
we can be more granular about the error behavior.
This PR adds their retry logic to lychee, reducing the number of
unnecessary requests significantly.

I also made some ergonomic changes to the client, which should not
affect its behavior.
2023-03-10 22:36:45 +01:00
..
src Fix --max-redirects (#987) 2023-03-10 15:15:37 +01:00
tests Better retry handling (#981) 2023-03-10 22:36:45 +01:00
Cargo.toml Bump serde from 1.0.153 to 1.0.154 2023-03-09 12:58:27 +00:00
LICENSE-APACHE Major refactor of codebase (#208) 2021-04-15 01:24:11 +02:00
LICENSE-MIT Update license files (#497) 2022-02-08 10:59:54 +01:00