]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Don't return a fatal error if receiving unexpected stream data
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 9 Nov 2011 13:54:01 +0000 (13:54 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 16 Nov 2011 11:22:39 +0000 (11:22 +0000)
commita38710bd652c1a4a79df7d4ef171d20ff322e566
tree4b8c6d0296a837a172da8208af880eedd53f110b
parent1d46b2e900498a3f389fcbb89fc7b27d22f36d4a
Don't return a fatal error if receiving unexpected stream data

Due to the asynchronous nature of streams, we might continue to
receive some stream packets from the server even after we have
shutdown the stream on the client side. These should be discarded
silently, rather than raising an error in the RPC layer.

* src/rpc/virnetclient.c: Discard stream data silently
src/rpc/virnetclient.c