Command has completed writing, and we've written it all out to conn. */
| 1170 | |
| 1171 | /* Command has completed writing, and we've written it all out to conn. */ |
| 1172 | static struct io_plan *stream_out_complete(struct io_conn *conn, |
| 1173 | struct json_stream *js, |
| 1174 | struct json_connection *jcon) |
| 1175 | { |
| 1176 | list_del_from(&jcon->jsouts, &js->list); |
| 1177 | tal_free(js); |
| 1178 | |
| 1179 | /* Wait for more output. */ |
| 1180 | return start_json_stream(conn, jcon); |
| 1181 | } |
| 1182 | |
| 1183 | static struct io_plan *read_json(struct io_conn *conn, |
| 1184 | struct json_connection *jcon) |
nothing calls this directly
no test coverage detected