libvirt/src/rpc
Martin Kletzander a8743c3938 rpc: Remove keepalive_required option
Since its introduction in 2011 (particularly in commit f4324e3292),
the option doesn't work.  It just effectively disables all incoming
connections.  That's because the client private data that contain the
'keepalive_supported' boolean, are initialized to zeroes so the bool is
false and the only other place where the bool is used is when checking
whether the client supports keepalive.  Thus, according to the server,
no client supports keepalive.

Removing this instead of fixing it is better because a) apparently
nobody ever tried it since 2011 (4 years without one month) and b) we
cannot know whether the client supports keepalive until we get a ping or
pong keepalive packet.  And that won't happen until after we dispatched
the ConnectOpen call.

Another two reasons would be c) the keepalive_required was tracked on
the server level, but keepalive_supported was in private data of the
client as well as the check that was made in the remote layer, thus
making all other instances of virNetServer miss this feature unless they
all implemented it for themselves and d) we can always add it back in
case there is a request and a use-case for it.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2015-08-10 13:15:56 +02:00
..
gendispatch.pl Teach gendispatch how to handle admin dispatching files 2015-06-16 13:46:20 +02:00
genprotocol.pl Add support for portable-rpcgen from portablexdr library 2015-07-08 14:34:38 +02:00
gensystemtap.pl Fix generation of systemtap probes for RPC protocols 2013-03-14 12:42:22 +00:00
virkeepalive.c Indent top-level labels by one space in src/rpc/ 2014-03-25 14:58:40 +01:00
virkeepalive.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virkeepaliveprotocol.x Define keepalive protocol 2011-11-24 11:44:08 +01:00
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 Indent top-level labels by one space in src/rpc/ 2014-03-25 14:58:40 +01:00
virnetclientprogram.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetclientstream.c rpc: Fix slow volume download (virsh vol-download) 2015-08-03 13:08:00 +02:00
virnetclientstream.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virnetdaemon.c rpc: Rework timerActive logic in daemon 2015-07-10 11:13:29 +02:00
virnetdaemon.h rpc: Add virNetDaemonHasClients 2015-07-10 10:50:22 +02:00
virnetmessage.c Add RPC implementation for virDomainOpenGraphicsFd 2014-08-26 19:26:28 +02:00
virnetmessage.h Add RPC implementation for virDomainOpenGraphicsFd 2014-08-26 19:26:28 +02:00
virnetprotocol.x Adjust legacy max payload size to account for header information 2013-10-07 13:28:44 +02:00
virnetsaslcontext.c Indent top-level labels by one space in src/rpc/ 2014-03-25 14:58:40 +01:00
virnetsaslcontext.h Tie SASL callbacks lifecycle to virNetSessionSASLContext 2013-11-26 11:52:58 +01:00
virnetserver.c rpc: Remove keepalive_required option 2015-08-10 13:15:56 +02:00
virnetserver.h rpc: Remove keepalive_required option 2015-08-10 13:15:56 +02:00
virnetserverclient.c rpc: Don't use unrelated value as privateData of client 2015-06-05 13:48:05 +02:00
virnetserverclient.h Include process start time when doing polkit checks 2013-05-08 10:47:45 +01:00
virnetservermdns.c mdns: Set error when failing due to missing avahi 2015-06-05 13:41:35 +02:00
virnetservermdns.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
virnetserverprogram.c Indent top-level labels by one space in src/rpc/ 2014-03-25 14:58:40 +01:00
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 rpc: ensure daemon is spawn even if dead socket exists 2015-07-17 12:46:43 +01:00
virnetsocket.h rpc: add API for checking IPv4/6 availability 2015-06-11 12:11:18 +01:00
virnetsshsession.c Use virBufferCheckError everywhere we report OOM error 2014-07-03 10:48:14 +02:00
virnetsshsession.h remote: Improve libssh2 password authentication 2013-07-12 09:22:38 +02:00
virnettlscontext.c security: fix DH key generation when FIPS mode is on 2014-09-04 11:56:36 +02:00
virnettlscontext.h Add APIs to get at more client security data 2013-03-19 13:11:46 +00:00