Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

fix: send CANCELs when session context is cancelled #376

Closed
wants to merge 1 commit into from

Conversation

dirkmc
Copy link
Contributor

@dirkmc dirkmc commented Apr 23, 2020

When the session's context is done, the session sends CANCELs for all pending wants.
However it uses the same (done) context to send the CANCELs, so they never actually get sent.
This PR changes the session to use Bitswap's context to send CANCELs on shutdown.

@dirkmc
Copy link
Contributor Author

dirkmc commented Apr 23, 2020

Superseded by #374

@dirkmc dirkmc closed this Apr 23, 2020
@dirkmc dirkmc deleted the fix/sess-ctx-cancels branch April 23, 2020 21:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant