Skip to content

Conversation

danjenkins
Copy link
Contributor

@danjenkins danjenkins commented Nov 13, 2019

Enable cancel reasons to be propagated from the original request in

Enable us sending our own reason if the call was answered by a different leg in the fork.

I had issues getting the propagation working @davehorton - should res be available where I expect it to in the cancel listener?

fixes #7

@davehorton
Copy link
Collaborator

Yes, that usage looks correct. But there is no Reason header being applied on the outbound cancel request?

@danjenkins
Copy link
Contributor Author

@davehorton res on this.req.on('cancel', (res) => { is undefined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is there a way to set headers in the CANCELs emitted by the simringer
2 participants