Fix: SignServer TCP ping for custom port#2353
Merged
Merged
Conversation
4 tasks
Contributor
Author
|
同样的,ipv6测试通过#2358 |
4 tasks
fumiama
approved these changes
Aug 23, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
解决了对于使用了强制 https 的 SignServer 在进行 TCP ping 时 错误的只截取了 host ,导致判定使用 80 端口而始终 ping 不通
的问题
TCP ping
http://xxx.com √
https://xxx.com:443 √
https://xxx.com ×
现在,它应该能正确的通过以上 TCP ping 的逻辑
同时,也确保了对于非 80/443 端口的 SignServer 服务器的 TCP ping 支持
[2023-08-07 08:58:53] [INFO]: 使用服务器 https://xxx.com/ 进 行数据包签名 [2023-08-07 08:59:00] [INFO]: 连接至签名服务器: https://xxx.com/ [2023-08-07 08:59:10] [INFO]: 注册QQ实例 10001成功: The QQ has already loaded an instance, so this time it is deleting the existing instance and creating a new one. [2023-08-07 08:59:10] [INFO]: Bot将在5秒后登录并开始信息处理, 按 Ctrl+C 取消. [2023-08-07 08:59:10] [INFO]: 每 30 分钟将刷新一次签名 token [2023-08-07 08:59:15] [INFO]: 开始尝试登录并同步消息... [2023-08-07 08:59:15] [INFO]: 使用协议: Android Pad 8.9.63.11390