io: fix corner case in EPIPE handling.
If io_read is always called, we don't know that it will actually read,
so it might not notice error. In that case, safest to fail immediately.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Showing
Please register or sign in to comment