Skip to content

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

Merged
lthibault merged 1 commit into
capnproto:mainfrom
zenhack:transport-captable
Jan 19, 2022
Merged

Transport: don't require clearing the cap table.#219
lthibault merged 1 commit into
capnproto:mainfrom
zenhack:transport-captable

Conversation

@zenhack

@zenhack zenhack commented Jan 19, 2022

Copy link
Copy Markdown
Contributor

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