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

fix: release idle connection when client close #211

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

xuthus5
Copy link
Member

@xuthus5 xuthus5 commented Dec 28, 2024

fixed: #210

The server decides when to close the HTTP long connection, which is determined by the ReadTimeout, ReadHeaderTimeout, and IdleTimeout of http.Server. Currently, opengemini ts-sql does not configure these three values, which means that if the client process does not exit, the server will always keep the TCP connection KeepAlive.

@xiangyu5632
Copy link
Member

is that to fix #210 ??

@xuthus5
Copy link
Member Author

xuthus5 commented Jan 1, 2025

is that to fix #210 ??

yes!

@hezhangjian hezhangjian merged commit fc73b67 into openGemini:main Jan 6, 2025
12 checks passed
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

Successfully merging this pull request may close these issues.

when the client invokes close(), the connection pool is not released
3 participants