[libvirt] [PATCH] Fix handling of stream EOF

Eric Blake eblake at redhat.com
Tue Oct 11 15:16:56 UTC 2011


On 10/11/2011 04:26 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"<berrange at redhat.com>
>
> Very occassionally the sequence of events from poll would result

s/occassionally/occasionally/

> in getting a HANGUP on its own, instead of a HANGUP+READABLE
> at the same time. In the former case we would send back an error
> event to the client, but never send the empty packet to indicate
> EOF.
> ---
>   daemon/stream.c |   40 ++++++++++++++++++++++++++++++++++++----
>   1 files changed, 36 insertions(+), 4 deletions(-)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list