Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transport: don't require clearing the cap table. #219

Merged
merged 1 commit into from
Jan 19, 2022

Conversation

zenhack
Copy link
Contributor

@zenhack zenhack commented Jan 19, 2022

This also changes the rpc subsystem to avoid clearing the cap table for
sent answers, which makes things easier to work with, per #216.

In particular, with this change #213 works as expected.

We could further clean things up by getting rid of answer.resultCapTable and just using answer.results.Message().CapTable everywhere. I have a patch locally that tries to do this, but it introduces a deadlock I haven't pinned down, so I'm submitting this without that for now.

This also changes the rpc subsystem to avoid clearing the cap table for
sent answers, which makes things easier to work with.
@lthibault lthibault merged commit 9154bf4 into capnproto:main Jan 19, 2022
@zenhack zenhack deleted the transport-captable branch January 19, 2022 18:09
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.

2 participants