]> xenbits.xensource.com Git - libvirt.git/commit
rpc: Report proper close reason
authorMartin Kletzander <mkletzan@redhat.com>
Sun, 30 Nov 2014 19:09:08 +0000 (20:09 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Mon, 8 Dec 2014 12:03:49 +0000 (13:03 +0100)
commitf1271380381bb49b4a4c38950fe77a60d19ea9a3
tree47edd8f922d78525938add2791ac527025ecfb89
parent48abdf5de7dbb81d4091235efc57cf07fd45cb86
rpc: Report proper close reason

Whenever client socket was marked as closed for some reason, it could've
been changed when really closing the connection.  With this patch the
proper reason is kept since the first time it's marked as closed.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/rpc/virnetclient.c