libvirt/src/remote
Michal Privoznik 92a5d12157 daemonStreamHandleWriteData: Preserve error when aborting stream
The daemonStreamHandleWriteData() function is called whenever
server side of stream is able to receive some data. Nevertheless,
it calls virStreamSend() (to pass data down to virFDStream) and
depending on its return value it may abort the stream. However,
the functions it called when doing so are public APIs and as such
reset any error set previously. Therefore, if there was any error
in writing data to stream (i.e. repored in virStreamSend) it is
reset before virNetServerProgramSendReplyError() can get to it.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
2018-03-15 08:25:59 +01:00
..
libvirtd.aug daemon: move configuration files to src/remote 2018-02-22 12:26:39 +00:00
libvirtd.conf daemon: move configuration files to src/remote 2018-02-22 12:26:39 +00:00
libvirtd.init.in daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00
libvirtd.libxl.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.lxc.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.pod daemon: move libvirtd POD manpage into src/remote/ 2018-02-22 12:21:09 +00:00
libvirtd.policy Do not generate polkit rules file 2018-03-14 12:46:26 +01:00
libvirtd.qemu.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.rules daemon: move misc libvirtd policy files to src/remote/ 2018-02-22 12:26:50 +00:00
libvirtd.sasl daemon: move misc libvirtd policy files to src/remote/ 2018-02-22 12:26:50 +00:00
libvirtd.service.in daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00
libvirtd.sysconf daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00
libvirtd.sysctl daemon: move misc libvirtd policy files to src/remote/ 2018-02-22 12:26:50 +00:00
libvirtd.uml.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.upstart daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00
lxc_protocol.x Add ACL annotations to all RPC messages 2013-06-24 15:24:36 +01:00
Makefile.inc.am Do not generate polkit rules file 2018-03-14 12:46:26 +01:00
qemu_protocol.x qemu: wire up RPC for qemu monitor events 2014-03-20 11:25:37 -06:00
remote_daemon_config.c daemon: move libvirtd code into src/remote/ directory 2018-02-22 12:21:08 +00:00
remote_daemon_config.h daemon: move libvirtd code into src/remote/ directory 2018-02-22 12:21:08 +00:00
remote_daemon_dispatch.c daemon: fix rpc event leak on error path in remoteDispatchObjectEventSend 2018-02-26 11:19:56 +00:00
remote_daemon_dispatch.h daemon: move libvirtd code into src/remote/ directory 2018-02-22 12:21:08 +00:00
remote_daemon_stream.c daemonStreamHandleWriteData: Preserve error when aborting stream 2018-03-15 08:25:59 +01:00
remote_daemon_stream.h daemon: move libvirtd code into src/remote/ directory 2018-02-22 12:21:08 +00:00
remote_daemon.c libvirtd: fix potential deadlock when reloading 2018-03-12 10:30:13 -06:00
remote_daemon.h daemon: move libvirtd code into src/remote/ directory 2018-02-22 12:21:08 +00:00
remote_driver.c Remove Policy-Kit support 2018-03-14 12:46:26 +01:00
remote_driver.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
remote_protocol.x storage: export virStoragePoolLookupByTargetPath as a public API 2018-02-09 11:05:10 +00:00
test_libvirtd.aug.in daemon: move configuration files to src/remote 2018-02-22 12:26:39 +00:00
virt-guest-shutdown.target.in daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00