]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix handling of stream EOF
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 7 Oct 2011 16:38:59 +0000 (17:38 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 16 Nov 2011 11:22:17 +0000 (11:22 +0000)
commit1d46b2e900498a3f389fcbb89fc7b27d22f36d4a
tree83606bb334cc29b49a359e23408bfcc5e35e6498
parentff465ad203c5aa176f5d49994a375746c964ff99
Fix handling of stream EOF

Very occasionally the sequence of events from poll would result
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