]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Ensure that EOF is dispatched to the stream callback
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 28 Jun 2011 16:58:04 +0000 (17:58 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 29 Jun 2011 10:08:59 +0000 (11:08 +0100)
commit516235c0378443a222e2d2b45ce794ecc033493c
treea2dbb4a01d1fedfe551dea73626d3923ed996fe4
parent8a4e28743e2440158e56e9d7cacc886ceabb37e8
Ensure that EOF is dispatched to the stream callback

When the remote client receives end of file on the stream
it never invokes the stream callback. Applications relying
on async event driven I/O will thus never see the EOF
condition on the stream

* src/rpc/virnetclient.c, src/rpc/virnetclientstream.c:
  Ensure EOF is dispatched
src/rpc/virnetclient.c
src/rpc/virnetclientstream.c