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

HTTP2 ping #117

Open
f4nff opened this issue May 7, 2017 · 5 comments
Open

HTTP2 ping #117

f4nff opened this issue May 7, 2017 · 5 comments

Comments

@f4nff
Copy link

f4nff commented May 7, 2017

ping

@ginuerzh
Copy link
Owner

之前有考虑添加,不过对于http2不太容易,后面的版本再看看能不能实现。

@ginuerzh
Copy link
Owner

现在的心跳包只是发送,没有去检测是否发送成功。

@ginuerzh
Copy link
Owner

是的,只需要检测ping是否有回应,但目前Go里面的http2很难做到这一点,还需要再深入的去实验一下。

@ginuerzh
Copy link
Owner

ssh相对来说要容易些,socks5 over ssh后面会加上去。

@ginuerzh
Copy link
Owner

SSH的心跳已经改善了不少,但HTTP2由于Go本身的限制,很难实现心跳包的收发。
目前只能寄希望于第三方解决方案,例如:
sideshow/apns2#88

@f4nff f4nff changed the title 强烈建议添加心跳包机制 ping Nov 2, 2017
@ginuerzh ginuerzh changed the title ping HTTP2 ping Apr 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants