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

fix: send CANCELs when session context is cancelled#376

Closed
dirkmc wants to merge 1 commit intomasterfrom
fix/sess-ctx-cancels
Closed

fix: send CANCELs when session context is cancelled#376
dirkmc wants to merge 1 commit intomasterfrom
fix/sess-ctx-cancels

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