Browse Source
It turns out we were heavily relying on the fact that after each message from the client there'd be a flush, and that there would not be anything after the JSON object we read. This will no longer be the case once we start streaming things or we are very quick in issuing the JSON-RPC requests. This just takes one of the error paths (incomplete read) and makes it into a successful path if we have indeed read a full root element.fix-benchmarks
Christian Decker
6 years ago
committed by
Rusty Russell
2 changed files with 47 additions and 4 deletions
Loading…
Reference in new issue