uasync: pass socket name to all add_socket call sites
This commit is contained in:
1 parent
c36cebe357
commit
b33caa56b8
31 files changed
+61
-59
No files matched your search
@@ -217,6 +217,7 @@ int control_server_init(struct control_server* server,
|
||||
accept_callback,
|
||||
NULL, /* write callback */
|
||||
NULL, /* except callback */
|
||||
"control_listen",
|
||||
server);
|
||||
|
||||
if (!server->listen_socket_id) {
|
||||
@@ -434,6 +435,7 @@ static void accept_callback(socket_t fd, void* arg) {
|
||||
client_read_callback,
|
||||
client_write_callback,
|
||||
client_except_callback,
|
||||
"control_client",
|
||||
client);
|
||||
|
||||
if (!client->socket_id) {
|
||||
|
||||
Reference in new issue
Block a user