Re: [PATCH] Send back an error if we get unexpected stream control message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/30/2011 10:10 AM, Daniel P. Berrange wrote:
> We ignore any stream data packets which come in for streams which
> are not registered, since these packets are async and do not have
> a reply. If we get a stream control packet though we must send back
> an actual error, otherwise a (broken) client may hang forever
> making it hard to diagnose the client bug.
> 
> * src/rpc/virnetserverprogram.c: Send back error for unexpected
>   stream control messages
> ---
>  src/rpc/virnetserverprogram.c |   25 +++++++++++++++++--------
>  1 files changed, 17 insertions(+), 8 deletions(-)

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]