]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Process all pending I/O for a RPC client before checking EOF
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 18 Jul 2012 15:50:02 +0000 (16:50 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 30 Jul 2012 11:35:08 +0000 (12:35 +0100)
commitb536e193a2fcaea0e2a48c4288dda64a10c97376
tree234052b394d9f1c1659c935f37c3f7c56a9d2320
parent0998cdae70be60fa382614b2f894911ea235de34
Process all pending I/O for a RPC client before checking EOF

In the socket event handler for the RPC client we must deal
with read/write events, before checking for EOF, otherwise
we might close the socket before we've read & acted upon the
last RPC messages

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/rpc/virnetclient.c