Christian Decker
c3f433ec66
json: Support streaming JSON messages
...
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.
2018-09-25 05:47:23 +00:00
..
2018-09-25 05:47:23 +00:00
2018-07-30 11:31:17 +02:00
2018-05-10 02:28:44 +00:00
2018-07-30 11:31:17 +02:00
2018-04-25 12:34:55 +02:00
2018-03-25 23:54:21 +00:00
2018-03-25 23:54:21 +00:00
2017-08-29 17:54:14 +02:00
2017-08-29 17:54:14 +02:00
2018-09-21 00:24:12 +00:00
2018-04-06 14:26:53 +02:00
2017-08-29 17:54:14 +02:00
2017-10-11 11:54:50 +02:00
2017-12-21 11:05:38 +00:00
2018-03-25 23:54:21 +00:00
2018-05-05 17:55:10 +02:00
2017-12-13 22:46:10 +01:00
2017-10-20 18:31:32 +02:00
2017-10-20 18:31:32 +02:00
2018-08-10 12:46:45 +02:00
2018-08-10 12:46:45 +02:00
2018-07-01 17:37:03 +02:00
2018-02-13 12:10:35 +01:00
2018-08-24 19:54:32 +02:00
2018-07-25 02:13:52 +00:00
2018-09-03 05:01:40 +00:00
2018-09-03 05:01:40 +00:00
2018-07-30 11:31:17 +02:00
2018-07-01 17:37:03 +02:00
2018-08-23 14:46:22 +02:00
2018-08-23 14:46:22 +02:00
2018-01-29 04:46:54 +00:00
2017-10-26 12:53:09 +02:00
2018-08-23 14:46:22 +02:00
2018-07-01 17:37:03 +02:00
2017-10-26 12:53:09 +02:00
2017-12-21 11:05:38 +00:00
2017-11-01 01:09:23 +00:00
2017-11-01 01:09:23 +00:00
2017-08-29 17:54:14 +02:00
2018-02-08 22:49:34 +01:00
2018-06-18 12:31:09 +02:00
2018-06-18 12:31:09 +02:00
2018-07-30 11:31:17 +02:00
2018-07-27 14:12:00 +02:00
2018-03-28 11:22:05 +02:00
2018-09-14 21:18:11 +02:00
2018-09-14 21:18:11 +02:00
2018-09-21 00:24:12 +00:00
2018-06-18 12:31:09 +02:00
2018-09-03 00:40:27 +00:00
2018-09-03 00:40:27 +00:00
2018-09-25 05:47:23 +00:00
2018-09-03 00:40:27 +00:00
2018-06-18 12:31:09 +02:00
2017-08-29 17:54:14 +02:00
2018-07-24 00:40:01 +02:00
2018-07-24 00:40:01 +02:00
2018-07-01 14:55:29 +02:00
2018-08-24 19:54:32 +02:00
2018-08-24 19:54:32 +02:00
2018-07-30 11:31:17 +02:00
2017-08-29 17:54:14 +02:00
2018-03-27 23:18:48 +00:00
2018-02-23 18:02:00 +01:00
2018-02-23 18:02:00 +01:00
2018-08-09 19:44:27 +02:00
2018-08-05 02:03:58 +00:00
2018-04-26 05:47:57 +00:00
2018-07-30 11:31:17 +02:00
2017-08-29 17:54:14 +02:00
2018-07-30 11:31:17 +02:00
2018-02-22 12:24:26 +01:00
2017-08-29 17:54:14 +02:00
2017-08-29 17:54:14 +02:00
2018-08-05 02:03:58 +00:00
2018-08-05 02:03:58 +00:00
2018-05-09 04:43:21 +00:00
2018-05-09 04:43:21 +00:00
2018-07-30 11:31:17 +02:00
2018-06-18 12:31:09 +02:00
2018-02-08 19:07:12 +01:00
2018-02-08 19:07:12 +01:00
2018-05-10 02:28:44 +00:00
2018-02-08 19:07:12 +01:00
2018-08-23 14:46:22 +02:00
2018-05-10 02:28:44 +00:00
2018-09-04 14:36:05 +02:00
2018-04-03 14:03:28 +02:00
2018-03-16 00:16:10 +00:00
2017-08-29 17:54:14 +02:00
2018-03-06 19:26:21 +01:00
2018-05-07 22:37:28 +02:00
2018-08-05 02:03:58 +00:00
2018-08-05 02:03:58 +00:00
2018-02-08 19:07:12 +01:00
2018-03-27 23:17:17 +00:00
2018-04-04 02:32:44 +00:00
2018-01-29 03:22:27 +00:00
2018-07-30 11:46:41 +02:00
2018-07-30 11:46:41 +02:00
2018-07-30 11:31:17 +02:00
2018-06-18 12:31:09 +02:00
2018-09-20 09:09:11 +02:00
2018-06-21 11:21:16 +02:00
2017-12-21 14:33:27 +01:00
2017-12-13 03:10:04 +00:00