修复客户端连接时指定端口,重连时仍然指定端口。增加支持随机端口,重连时仍然随机端口 #67
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1、修复客户端连接时指定端口,重连时使用随机端口的bug。(某些场景下必须指定端口才能访问服务端,包含重连)
2、增加支持设定指定IP,但端口随机。(比如主机有多个IP,使用某个IP连接服务器凋, 且随机端口)
3、取消取消心跳提醒的warn提醒,心跳默认是启用的,所以无心跳时一定是用户人为取消,所以不需要提醒,也不需要每次都warn