Re: [PATCH 1/3] Fix hardcoded limit on client requests in RPC code

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

 



On 06/30/2011 05:29 AM, Daniel P. Berrange wrote:
> The virNetServerClient object had a hardcoded limit of 10 requests
> per client. Extend constructor to allow it to be passed in as a
> configurable variable. Wire this up to the 'max_client_requests'
> config parameter in libvirtd
> 
> * daemon/libvirtd.c: Pass max_client_requests into services
> * src/rpc/virnetserverservice.c, src/rpc/virnetserverservice.h: Pass
>   nrequests_client_max to clients
> * src/rpc/virnetserverclient.c, src/rpc/virnetserverclient.h: Allow
>   configurable request limit
> ---
>  daemon/libvirtd.c             |    4 ++++
>  src/rpc/virnetserverclient.c  |    3 ++-
>  src/rpc/virnetserverclient.h  |    1 +
>  src/rpc/virnetserverservice.c |    6 ++++++
>  src/rpc/virnetserverservice.h |    2 ++
>  5 files changed, 15 insertions(+), 1 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]