• J
    client rpc: Process pending data on error · adf3be57
    Jiri Denemark 提交于
    Even though we hit an error in client's IO loop, we still want to
    process any pending data. So instead of reporting the error right away,
    we can finish the current iteration and report the error once we're done
    with it. Note that the error is stored in client->error by
    virNetClientMarkClose so we don't need to worry about it being reset or
    rewritten by any API we call in the meantime.
    Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
    adf3be57
virnetclient.c 59.9 KB