Skip to content

Commit

Permalink
修复客户端连接时指定端口,重连时仍然指定端口。增加支持随机端口,重连时仍然随机端口
Browse files Browse the repository at this point in the history
  • Loading branch information
zhupengfeivip committed Dec 9, 2024
1 parent 10de565 commit 7673041
Show file tree
Hide file tree
Showing 2 changed files with 412 additions and 415 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@ private void handler(Void result, ConnectionCompletionVo attachment, Throwable t
if (reconnConf != null) {
channelContext = new ClientChannelContext(tioClientConfig, asynchronousSocketChannel);
channelContext.setServerNode(serverNode);
channelContext.setBindIp(bindIp);
channelContext.setBindPort(bindPort);
}
}

Expand Down
Loading

0 comments on commit 7673041

Please sign in to comment.