Close the incoming socket if we aren't going to accept it
cmr=v1.8.2:reviewer=rhc This commit was SVN r31759.
Этот коммит содержится в:
родитель
82934b173c
Коммит
e605e73379
@ -837,6 +837,7 @@ static void connection_handler(int sd, short flags, void* cbdata)
|
||||
}
|
||||
}
|
||||
if (!found) {
|
||||
close(new_connection->fd); // close this so the remote end hangs up
|
||||
opal_output(0, "%s CONNECTION REQUEST ON UNKNOWN INTERFACE",
|
||||
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME));
|
||||
}
|
||||
@ -920,6 +921,7 @@ static void connection_event_handler(int incoming_sd, short flags, void* cbdata)
|
||||
}
|
||||
}
|
||||
if (!found) {
|
||||
close(sd); // close this so the remote end hangs up
|
||||
opal_output(0, "%s CONNECTION REQUEST ON UNKNOWN INTERFACE",
|
||||
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME));
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user