Re: [PATCH 3/5] Fix release of outgoing stream confirmation/abort message

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

 



On 07/08/2011 05:57 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> When sending back the final OK or ERROR message on completion
> of a stream, we were not decrementing the 'nrequests' tracker
> on the client. With the default requests limit of '5', this
> meant once a client had created 5 streams, they are unable to
> process any further RPC calls.  There was also a bug when
> handling an error from decoding a message length header, which
> meant a client connection would not immediately be closed.
> 
> * src/rpc/virnetserverclient.c: Fix release of request after
>   stream completion & mark client for close on error
> ---
>  src/rpc/virnetserverclient.c |    8 ++++++--
>  1 files changed, 6 insertions(+), 2 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]