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

远程连接关闭后, 本地连接还是会保持连接 #47

Open
tianmax opened this issue Aug 18, 2023 · 0 comments
Open

远程连接关闭后, 本地连接还是会保持连接 #47

tianmax opened this issue Aug 18, 2023 · 0 comments

Comments

@tianmax
Copy link

tianmax commented Aug 18, 2023

1.跟远程的连接关闭后,xfrpc跟本地的连接不关闭,会导致xfrpc跟本地服务的连接数不断增加
2.关闭跟frps端口的连接, 在收到FIN标记的包后, 修改标记close_stream = 1, 可以关闭链接,但是接收到的数据没能完成写入本地服务

理想状态下,应该是 1.发送完数据给frps的转发端口 2.跟frps的端口断开连接 3.xfrpc写入数据给本地服务 4.如果远程服务断开了, 则关闭跟本地服务的链接

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

No branches or pull requests

1 participant