Re: [PATCH 04/23] Change interaction when accepting new RPC client connections

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

 



On 08/09/2012 09:20 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> Currently the virNetServerServicePtr is responsible for
> creating the virNetServerClientPtr instance when accepting
> a new connection. Change this so that the virNetServerServicePtr
> merely gives virNetServerPtr a virNetSocketPtr instance. The
> virNetServerPtr can then create the virNetServerClientPtr
> as it desires

Yes, that seems like a better division of labor.

> 
> Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
> ---
>  src/libvirt_private.syms      |  4 ++--
>  src/rpc/virnetserver.c        | 14 ++++++++++++--
>  src/rpc/virnetserverclient.c  |  4 +---
>  src/rpc/virnetserverservice.c | 38 +++++++++++++++-----------------------
>  src/rpc/virnetserverservice.h |  4 +++-
>  5 files changed, 33 insertions(+), 31 deletions(-)
> 

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
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]