We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
现象:client -serverStream-> mosn -clientStream-> server, 当clientStream读取响应发生错误时(比如响应头超过8KB),直接进行reset归还了activeClient没有关闭连接,此时clientStreamConnection.serve已经退出。由于active已经归还,后续复用时已经没有clientStreamConnection.serve任务去处理响应了,因此会卡死。
原因: pkg/stream/http/stream.go:265
pkg/stream/http/stream.go:300 未关闭连接 归还activeClient
reset后return
可能的解决方案:reset前设置activeClient.closeConn = true使该连接关闭
The text was updated successfully, but these errors were encountered:
感谢报告,欢迎 PR~
Sorry, something went wrong.
No branches or pull requests
Describe the bug
现象:client -serverStream-> mosn -clientStream-> server, 当clientStream读取响应发生错误时(比如响应头超过8KB),直接进行reset归还了activeClient没有关闭连接,此时clientStreamConnection.serve已经退出。由于active已经归还,后续复用时已经没有clientStreamConnection.serve任务去处理响应了,因此会卡死。
原因:
pkg/stream/http/stream.go:265
pkg/stream/http/stream.go:300
未关闭连接
归还activeClient
reset后return
可能的解决方案:reset前设置activeClient.closeConn = true使该连接关闭
Expected behavior
Actual behavior
Steps to reproduce
Minimal yet complete reproducer code (or GitHub URL to code)
Environment
The text was updated successfully, but these errors were encountered: