Skip to content
Permalink
Browse files

Fix: remote: cl#5269 - Notify other clients of a new connection only …

…if the handshake has completed (bsc#967388)
  • Loading branch information...
gao-yan committed Feb 22, 2016
1 parent a5df52a commit 5ec24a2642bd0854b884d1a9b51d12371373b410
Showing with 3 additions and 2 deletions.
  1. +3 −2 lrmd/tls_backend.c
@@ -79,6 +79,9 @@ lrmd_remote_client_msg(gpointer data)
g_source_remove(client->remote->auth_timeout);
}
client->remote->auth_timeout = 0;

/* Alert other clients of the new connection */
notify_of_new_client(client);
}
return 0;
}
@@ -289,8 +292,6 @@ lrmd_remote_listen(gpointer data)
&lrmd_remote_fd_cb);
g_hash_table_insert(client_connections, new_client->id, new_client);

/* Alert other clients of the new connection */
notify_of_new_client(new_client);
return TRUE;
}

0 comments on commit 5ec24a2

Please sign in to comment.
You can’t perform that action at this time.