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

关于proxy关闭上下游连接时机的疑问 #564

Open
Gypsying opened this issue Jun 4, 2024 · 0 comments
Open

关于proxy关闭上下游连接时机的疑问 #564

Gypsying opened this issue Jun 4, 2024 · 0 comments

Comments

@Gypsying
Copy link

Gypsying commented Jun 4, 2024

utils.CloseConn(inConn)

在IoBind过程中,不管是上下游的哪一方连接出现err,proxy都会把两个连接都close掉,这个行为是不是不太合理?
不考虑具体的err直接粗暴的关闭连接会不会造成数据丢失的问题?

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