From e0cdcbf68ab1dc1cc1af874cd84579d89a3e3747 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Fri, 8 Oct 2010 10:17:55 +0000 Subject: rpc-clnt: do rpc_transport_destroy() in rpc_clnt_destroy() handles the case of peer detach properly Signed-off-by: Amar Tumballi Signed-off-by: Vijay Bellur BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875 --- rpc/rpc-lib/src/rpc-transport.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rpc/rpc-lib/src/rpc-transport.h') diff --git a/rpc/rpc-lib/src/rpc-transport.h b/rpc/rpc-lib/src/rpc-transport.h index 560eae453..c5e7755ff 100644 --- a/rpc/rpc-lib/src/rpc-transport.h +++ b/rpc/rpc-lib/src/rpc-transport.h @@ -246,6 +246,9 @@ rpc_transport_connect (rpc_transport_t *this, int port); int32_t rpc_transport_disconnect (rpc_transport_t *this); +int32_t +rpc_transport_destroy (rpc_transport_t *this); + int32_t rpc_transport_notify (rpc_transport_t *this, rpc_transport_event_t event, void *data, ...); -- cgit