How to setup a connection timeout on a server #1861
Unanswered
oliverjantar
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a general question on how to setup and handle connection timeout on the server side when using Server builder
There is an option to add a timeout() but from what I understood, it is on a request level.
The problem is that I can open a TCP connection with the server and not send any requests and it lives forever. I know I can set a tcp_keepalive to check if the connection is active, but is there some way how to cancel the connection on the server side after some time?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions