Re: [libvirt] [PATCH 01/11] Process all pending I/O for a RPC client before checking EOF

2012-07-27 Thread Jiri Denemark
On Fri, Jul 27, 2012 at 13:33:06 +0100, Daniel P. Berrange wrote: > On Thu, Jul 26, 2012 at 04:00:22PM +0200, Jiri Denemark wrote: > > On Tue, Jul 24, 2012 at 14:22:43 +0100, Daniel P. Berrange wrote: > > > From: "Daniel P. Berrange" > > > > > > In the socket event handler for the RPC client we m

Re: [libvirt] [PATCH 01/11] Process all pending I/O for a RPC client before checking EOF

2012-07-27 Thread Daniel P. Berrange
On Thu, Jul 26, 2012 at 04:00:22PM +0200, Jiri Denemark wrote: > On Tue, Jul 24, 2012 at 14:22:43 +0100, Daniel P. Berrange wrote: > > From: "Daniel P. Berrange" > > > > In the socket event handler for the RPC client we must deal > > with read/write events, before checking for EOF, otherwise > >

Re: [libvirt] [PATCH 01/11] Process all pending I/O for a RPC client before checking EOF

2012-07-26 Thread Jiri Denemark
On Tue, Jul 24, 2012 at 14:22:43 +0100, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > 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 mes

[libvirt] [PATCH 01/11] Process all pending I/O for a RPC client before checking EOF

2012-07-24 Thread Daniel P. Berrange
From: "Daniel P. Berrange" 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 --- src/rpc/virnetclient.c | 20 +