Re: [libvirt] [PATCH] Don't attempt to read from a stream if it is closed

2011-08-16 Thread Eric Blake
On 08/16/2011 05:25 PM, Daniel P. Berrange wrote: From: "Daniel P. Berrange" The I/O event callback processes incoming packets first, and then does outgoing packets. If the incoming packet caused the stream to close, then the attempt to process outgoing data resulted in an error. This caused lib

[libvirt] [PATCH] Don't attempt to read from a stream if it is closed

2011-08-16 Thread Daniel P. Berrange
From: "Daniel P. Berrange" The I/O event callback processes incoming packets first, and then does outgoing packets. If the incoming packet caused the stream to close, then the attempt to process outgoing data resulted in an error. This caused libvirt to then send an error back to the client, but