Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hysteria2服务器从启动到能开始响应客户端请求需要的时间有点长 #1076

Open
CodingMoeButa opened this issue May 10, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@CodingMoeButa
Copy link

调试服务器的时候发现Hysteria2服务端启动之后,客户端不能立刻连上,要等一段时间,实测大约36秒。
为什么会费这么多时间?这个启动延迟能优化吗?

@CodingMoeButa CodingMoeButa added the enhancement New feature or request label May 10, 2024
@haruue
Copy link
Collaborator

haruue commented May 10, 2024

在重启 Hysteria 服务端之后, 重启客户端进程, 即可马上连上。
参考 #1033 (comment)

@CodingMoeButa
Copy link
Author

CodingMoeButa commented May 10, 2024

实测V2Ray的QUIC传输层协议也会有这个问题,mKCP就没有。

对于程序被重启的情况,能否实现对“软件即将被关闭”绑定事件,在软件完全退出前安全关闭所有连接?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants