summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rpc/rpc-transport/socket/src/socket.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpc/rpc-transport/socket/src/socket.c b/rpc/rpc-transport/socket/src/socket.c
index 24079a9f8fe..b043f52ef83 100644
--- a/rpc/rpc-transport/socket/src/socket.c
+++ b/rpc/rpc-transport/socket/src/socket.c
@@ -2010,6 +2010,8 @@ socket_connect_finish (rpc_transport_t *this)
if (priv->connected != 0)
goto unlock;
+ get_transport_identifiers (this);
+
ret = __socket_connect_finish (priv->sock);
if (ret == -1 && errno == EINPROGRESS)
@@ -2050,7 +2052,6 @@ socket_connect_finish (rpc_transport_t *this)
priv->connected = 1;
priv->connect_finish_log = 0;
event = RPC_TRANSPORT_CONNECT;
- get_transport_identifiers (this);
}
}
unlock: