[libvirt] [PATCH 1/3] Fix hardcoded limit on client requests in RPC code
Eric Blake
eblake at redhat.com
Thu Jun 30 15:12:53 UTC 2011
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 at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110630/6ac2de5e/attachment-0001.sig>
More information about the libvir-list
mailing list