Files
lightning/lightningd
Rusty Russell a08bcfdbd3 jsonrpc: don't crash on multiple commands at once.
Once we read a command, we are supposed to io_wait until it finishes.
However, we are actually woken in two places: when it's complete
(which is correct), and when it's written out (which is wrong).

We don't care when it's written out, only when it's finished:
refactor to make json_done() free and NULL the old ->current,
rather than have the callers do it.  Now it's clear that it's
ready for both new output and new input.

Fixes: #934
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-02-16 12:56:48 +01:00
..
2017-10-20 18:31:32 +02:00
2018-02-01 03:12:43 +00:00
2018-02-08 23:33:49 +01:00
2018-02-07 00:46:49 +00:00
2018-02-08 22:49:34 +01:00
2017-12-21 09:56:20 +00:00