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
..
2018-02-14 11:31:58 +01:00
2017-10-20 18:31:32 +02:00
2018-02-01 03:12:43 +00:00
2018-02-14 11:31:58 +01:00
2018-01-08 17:19:25 +01:00
2017-12-20 12:56:15 +01:00
2018-02-14 11:31:58 +01:00
2018-02-14 11:31:58 +01:00
2018-02-14 11:31:58 +01:00
2018-02-14 11:31:58 +01:00
2018-02-14 11:31:58 +01:00
2018-02-11 11:40:59 +01:00
2017-10-20 18:31:32 +02:00
2018-02-08 19:07:12 +01:00
2018-02-08 19:07:12 +01:00
2018-02-07 00:46:49 +00:00
2017-06-27 10:25:53 +09:30
2018-02-14 11:31:58 +01:00
2018-02-14 11:31:58 +01:00
2018-02-05 08:52:42 +00:00
2018-01-16 13:03:54 +01:00
2018-02-08 23:33:49 +01:00
2018-02-16 12:56:48 +01:00
2018-02-02 00:05:00 +01:00
2018-02-14 11:31:58 +01:00
2018-02-14 11:31:58 +01:00
2018-02-08 19:07:12 +01:00
2018-02-07 00:46:49 +00:00
2018-02-10 15:44:14 +01:00
2018-02-07 00:46:49 +00:00
2018-02-14 11:31:58 +01:00
2018-01-23 13:32:44 +01:00
2018-02-08 22:49:34 +01:00
2017-12-21 09:56:20 +00:00
2017-08-29 17:54:14 +02:00
2017-08-29 17:54:14 +02:00
2018-02-07 00:46:49 +00:00
2018-01-19 22:23:45 +00:00
2018-02-14 11:31:58 +01:00
2017-06-23 09:29:42 +09:30
2018-02-14 11:31:58 +01:00
2018-02-14 11:31:58 +01:00
2018-02-14 11:57:42 +01:00
2018-02-14 11:31:58 +01:00
2018-02-14 11:31:58 +01:00
2018-02-14 11:31:58 +01:00
2018-02-14 11:31:58 +01:00
2018-01-08 17:19:25 +01:00
2018-01-08 17:19:25 +01:00
2018-02-14 11:31:58 +01:00
2018-02-14 11:31:58 +01:00