rust-ipfs/http/src
bors[bot] 4e6fbdbc58
Merge #233
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>
2020-07-09 15:15:39 +00:00
..
v0 Merge #233 2020-07-09 15:15:39 +00:00
config.rs feat: propagate ipfs to filters, local id query 2020-03-17 10:34:43 +02:00
keys.proto feat: rsa keygen using openssl with compat storage 2020-03-12 16:30:36 +02:00
lib.rs doc: add why recursion_limit is specified 2020-06-08 15:03:34 +03:00
main.rs refactor: simplify one match expression 2020-06-26 15:11:05 +02:00
v0.rs feat: /get http endpoint 2020-06-17 17:26:39 +03:00