]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpc: serverclient: Add option to suppress errors on EOF
authorPeter Krempa <pkrempa@redhat.com>
Fri, 17 Mar 2017 15:18:08 +0000 (16:18 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 17 Mar 2017 16:20:22 +0000 (17:20 +0100)
commit21a2d1b69cc4e63468e23d2ca30c8124d3258a12
treefb66d7c6287f58023e387ee097508f336825171a
parent494c302c7f776292aafb2c3b8e2cba4fdd1397f2
rpc: serverclient: Add option to suppress errors on EOF

The protocol may not use an explicit API to close the connection and
just close the socket instead. Add option to suppress errors in such
case.
src/rpc/virnetserverclient.c
src/rpc/virnetserverclient.h