Re: [capnproto] flow limit related deadlock?

2021-11-24 Thread 'Kenton Varda' via Cap'n Proto
It sounds like what Go is providing today would be equivalent to a KJ API that returns two promises: once which waits for backpressure, and one which waits for the RPC return value. In principle, we could provide a new version of `send()` in C++ which provides this. But if it only recognizes backpr

Re: [capnproto] flow limit related deadlock?

2021-11-24 Thread Erin Shepherd
On Wed, 24 Nov 2021, at 02:28, Ian Denhardt wrote: > Quoting Kenton Varda (2021-11-23 19:20:50) > > Cap'n Proto doesn't provide any backpressure from the underlying TCP > > connection to the app, except through streaming. If you just make a ton > > of calls all at once without waiting for returns,