Skip to content

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