libvirt/src/rpc
Jiri Denemark 42faf316ec client: Report proper close reason
When we get a POLLHUP or VIR_EVENT_HANDLE_HANGUP event for a client, we
still want to read from the socket to process any accumulated data. But
doing so inevitably results in an error and a call to
virNetClientMarkClose before we get to processing the hangup event (and
another call to virNetClientMarkClose). However the close reason passed
to the second virNetClientMarkClose call is ignored because another one
was already set. We need to pass the correct close reason when marking
the socket to be closed for the first time.

https://bugzilla.redhat.com/show_bug.cgi?id=1373859

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2017-05-02 18:53:24 +02:00
..
gendispatch.pl rpcgen: Add support for generating funcs returning alloc'd typed params 2016-06-22 08:15:45 +02:00
genprotocol.pl genprotocol.pl: add darwin to fixup list 2016-11-24 17:17:43 +03:00
gensystemtap.pl build: predictably generate systemtap tapsets (bz 1173641) 2016-01-20 10:26:02 -05:00
virkeepalive.c rpc: fix keep alive timer segfault 2017-04-24 12:19:13 +02:00
virkeepalive.h
virkeepaliveprotocol.x
virnetclient.c client: Report proper close reason 2017-05-02 18:53:24 +02:00
virnetclient.h remote: expose a new libssh transport 2016-11-15 15:50:51 +01:00
virnetclientprogram.c Indent top-level labels by one space in src/rpc/ 2014-03-25 14:58:40 +01:00
virnetclientprogram.h
virnetclientstream.c refactoring: Use the return value of virObjectRef directly 2017-04-10 14:49:20 +02:00
virnetclientstream.h
virnetdaemon.c rpc: fix resource leak 2017-04-11 13:23:00 +02:00
virnetdaemon.h Change virNetDaemonGetServerNames to virNetDaemonGetServers 2016-03-11 12:58:41 +01:00
virnetlibsshsession.c rpc: libssh: allow a NULL known_hosts file 2017-01-11 13:37:24 +01:00
virnetlibsshsession.h libssh_transport: add new libssh-based transport 2016-11-15 15:50:51 +01:00
virnetmessage.c rpc: use virNetMessageClearPayload in client 2016-05-05 14:28:19 -04:00
virnetmessage.h rpc: use virNetMessageClearPayload in client 2016-05-05 14:28:19 -04:00
virnetprotocol.x rpc: protocol: Clarify VIR_NET_ERROR usage with streams 2016-05-02 10:13:04 -04:00
virnetsaslcontext.c Ignore SASL deprecation warnings on OS-X 2017-04-19 10:51:51 +01:00
virnetsaslcontext.h build: workaround broken SASL header (again) 2016-03-31 17:36:49 +02:00
virnetserver.c refactoring: Use the return value of virObjectRef directly 2017-04-10 14:49:20 +02:00
virnetserver.h rpc: virnetserver: Rename ClientSetProcessingControls to ClientSetLimits 2016-08-02 14:51:13 +02:00
virnetserverclient.c rpc: serverclient: Add option to suppress errors on EOF 2017-03-17 17:20:22 +01:00
virnetserverclient.h rpc: serverclient: Add option to suppress errors on EOF 2017-03-17 17:20:22 +01:00
virnetservermdns.c lib: Fix c99 style comments 2017-04-27 14:13:19 +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 virNet{Client,Server}*Stream: Update comment 2016-04-21 16:29:41 +02:00
virnetserverprogram.h daemonClientStream: Use unsigned int to store stream @serial 2016-04-21 16:29:41 +02:00
virnetserverservice.c rpc: Fix potentially segfaults 2017-02-12 15:02:42 -05:00
virnetserverservice.h rpc: allow selection of TCP address family 2015-06-11 12:11:18 +01:00
virnetsocket.c rpc: socket: Add possibility to suppress errors on read hangup 2017-03-17 17:19:00 +01:00
virnetsocket.h annotate all mocked functions with noinline 2017-04-19 10:51:51 +01:00
virnetsshsession.c build: add GCC 6.0 -Wlogical-op workaround 2016-04-11 12:09:14 +02:00
virnetsshsession.h remote: Improve libssh2 password authentication 2013-07-12 09:22:38 +02:00
virnettlscontext.c Report what TLS priority string we use for a session 2017-03-16 11:03:33 +00:00
virnettlscontext.h rpc: allow priority string to be passed to TLS context 2016-06-08 13:48:45 +01:00