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

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



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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