libvirt/src/rpc
Michal Privoznik 355d8f470f virNetServerServiceClose: Don't leak sockets
Well, if a server is being destructed, all underlying services and
their sockets should disappear with it. But due to bug in our
implementation this is not the case. Yes, we are closing the sockets,
but that's not enough. We must also:

1) Unregister them from the event loop
2) Unref the service for each socket

The last step is needed, because each socket callback holds a
reference to the service object. Since in the first step we are
unregistering the callbacks, they no longer need the reference.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2015-06-19 11:19:50 +02:00
..
gendispatch.pl Teach gendispatch how to handle admin dispatching files 2015-06-16 13:46:20 +02:00
genprotocol.pl
gensystemtap.pl
virkeepalive.c
virkeepalive.h
virkeepaliveprotocol.x
virnetclient.c rpc: allow selection of TCP address family 2015-06-11 12:11:18 +01:00
virnetclient.h rpc: allow selection of TCP address family 2015-06-11 12:11:18 +01:00
virnetclientprogram.c
virnetclientprogram.h
virnetclientstream.c
virnetclientstream.h
virnetdaemon.c rpc: Actually increase reference count on @srv in virNetDaemonAddServer 2015-06-18 13:32:37 +02:00
virnetdaemon.h Move daemon-related parts of virNetServer to virNetDaemon 2015-06-16 13:46:19 +02:00
virnetmessage.c
virnetmessage.h
virnetprotocol.x
virnetsaslcontext.c
virnetsaslcontext.h
virnetserver.c Revert "rpc: Add virNetServerGetNClients" 2015-06-16 14:09:09 +02:00
virnetserver.h netserver: Remove duplicate forward declaration 2015-06-16 14:58:00 +02:00
virnetserverclient.c rpc: Don't use unrelated value as privateData of client 2015-06-05 13:48:05 +02:00
virnetserverclient.h
virnetservermdns.c mdns: Set error when failing due to missing avahi 2015-06-05 13:41:35 +02:00
virnetservermdns.h
virnetserverprogram.c
virnetserverprogram.h Move daemon-related parts of virNetServer to virNetDaemon 2015-06-16 13:46:19 +02:00
virnetserverservice.c virNetServerServiceClose: Don't leak sockets 2015-06-19 11:19:50 +02:00
virnetserverservice.h rpc: allow selection of TCP address family 2015-06-11 12:11:18 +01:00
virnetsocket.c virNetSocket: Fix @watch corner case 2015-06-19 11:19:49 +02:00
virnetsocket.h rpc: add API for checking IPv4/6 availability 2015-06-11 12:11:18 +01:00
virnetsshsession.c
virnetsshsession.h
virnettlscontext.c
virnettlscontext.h