If an initial address fails to connect, record that fact and attempt the next address for that proc. If nothing succeeds, then declare failure.
cmr=v1.8.2:reviewer=edgar This commit was SVN r32553.
Этот коммит содержится в:
родитель
024572cb6c
Коммит
0a91fdf85f
@ -801,6 +801,14 @@ void mca_oob_tcp_peer_close(mca_oob_tcp_peer_t *peer)
|
||||
/* release the socket */
|
||||
close(peer->sd);
|
||||
|
||||
/* if we were CONNECTING, then we need to mark the address as
|
||||
* failed and cycle back to try the next address */
|
||||
if (MCA_OOB_TCP_CONNECTING == peer->state) {
|
||||
peer->active_addr->state = MCA_OOB_TCP_FAILED;
|
||||
ORTE_ACTIVATE_TCP_CONN_STATE(peer, mca_oob_tcp_peer_try_connect);
|
||||
return;
|
||||
}
|
||||
|
||||
/* inform the component-level that we have lost a connection so
|
||||
* it can decide what to do about it.
|
||||
*/
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user