4e6fbdbc58
233: Add http timeouts r=ljedrz a=koivunej Related to #228, this adds timeout handling to: * `block/get` * `dag/resolve` * `refs` (partial) * `cat` (partial) * `get` (partial) Partial means only the initial step of at minimum path walking has the timeout. We cannot yet return errors from streamed bodies because of the lack of `Trailer` support in hyper, so no "request timeout" is enforced once we get to streaming the body. Co-authored-by: Joonas Koivunen <joonas@equilibrium.co> Co-authored-by: Joonas Koivunen <joonas.koivunen@gmail.com> |
||
---|---|---|
.. | ||
v0 | ||
config.rs | ||
keys.proto | ||
lib.rs | ||
main.rs | ||
v0.rs |