Re: [capnproto] RPC: simple return values and a "finish" roundtrip

2017-08-11 Thread 'Kenton Varda' via Cap'n Proto
Hi Tomáš, I think a flag in Return will work better than one in Call because the library doesn't know whether the caller plans to use pipelining at the time that the Call is sent, but on the callee end the library definitely knows when the results don't contain any capabilities. I think this

[capnproto] RPC: simple return values and a "finish" roundtrip

2017-08-08 Thread gavento
Hi everyone, I apologize in advance if I have missed this in the docs or other thread, but I have not been able to understand why, when a method gets called, there are three packets being sent: call (@2), return (@3), finish (@4) even if no capabilities are involved (except for the bootstrap).