diff options
Diffstat (limited to 'xlators/protocol/client/src/client-handshake.c')
| -rw-r--r-- | xlators/protocol/client/src/client-handshake.c | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/protocol/client/src/client-handshake.c b/xlators/protocol/client/src/client-handshake.c index 354b9167810..6d1f14b2aa7 100644 --- a/xlators/protocol/client/src/client-handshake.c +++ b/xlators/protocol/client/src/client-handshake.c @@ -1272,6 +1272,11 @@ out:                                  PC_MSG_CHILD_CONNECTING_NOTIFY_FAILED,                                  "notify of CHILD_CONNECTING failed");                  conf->connecting= 1; +                /* +                 * The reconnection *won't* happen in the background (see +                 * previous comment) unless we kill the current connection. +                 */ +                rpc_transport_disconnect (conf->rpc->conn.trans, _gf_false);                  ret = 0;          }  | 
