Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.
This repository was archived by the owner on Aug 2, 2021. It is now read-only.

implement request cancelation and request timeout with contexts #409

@zelig

Description

@zelig
  • make sure there is a global context for a request, should be resettable if new request hit upon existing request
  • forwarding context should be cancelable if downstream peer disconnects or shuts down syncing
  • communicated to the downstream peer. (required stream protocol message)
  • in case of searc timeout, rerequest from other peer(s)
  • global timeout or upstream cancel on a chunk with singleton requestor should be cancelled

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions