set comm_type for connection

use_iouring
YuQing 2024-06-23 15:05:31 +08:00
parent a0f1ac59c8
commit 2ab381d5e3
1 changed files with 1 additions and 0 deletions

View File

@ -1743,6 +1743,7 @@ int fc_server_make_connection_ex(FCAddressPtrArray *addr_array,
conn_pool_set_server_info(conn, (*addr)->conn.ip_addr,
(*addr)->conn.port);
conn->comm_type = (*addr)->conn.comm_type;
if ((result=G_COMMON_CONNECTION_CALLBACKS[conn->comm_type].
make_connection(conn, service_name, connect_timeout * 1000,
bind_ipaddr, log_connect_error)) == 0)