3 Avoid corner case where the client is unsable to reconnect to servers
5 Backport of a bit from http://review.gluster.org/362
7 --- rpc/rpc-transport/socket/src/socket.c.orig 2012-09-30 06:42:07.000000000 +0200
8 +++ rpc/rpc-transport/socket/src/socket.c 2012-09-30 09:41:50.000000000 +0200
10 gf_log (this->name, GF_LOG_DEBUG,
11 "shutdown() returned %d. %s",
12 ret, strerror (errno));
16 + * Without this, reconnect (= disconnect + connect)
17 + * won't work except by accident.
19 + event_unregister (this->ctx->event_pool,
20 + priv->sock, priv->idx);