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

Support IDLE_TIMEOUT (client-side) #13212

Closed
ejona86 opened this issue Nov 1, 2017 · 2 comments
Closed

Support IDLE_TIMEOUT (client-side) #13212

ejona86 opened this issue Nov 1, 2017 · 2 comments

Comments

@ejona86
Copy link
Member

ejona86 commented Nov 1, 2017

IDLE_TIMEOUT is defined as a way for clients to drop unused connections after inactivity. This is generally useful, but is particularly valuable on mobile as it can be substantially more battery efficient than enabling keepalive on the channel.

I recently came to the understanding that this is not implemented in C-core. Java has had support since 1.0. Note that in Java, when the IDLE_TIMEOUT is reached, the NameResolver and LB are shutdown, returning the Channel to the same state as initially created. This does cause a nomenclature problem, because there are two levels of IDLEness; we've been calling the shutting down of all IO (NR and LB) "idle mode."

The server-side equivalent is MAX_CONNECTION_IDLE. But both are necessary.

@hsaliak
Copy link
Contributor

hsaliak commented May 15, 2018

@AspirinSJL could you please take a look, feel free to prioritize down if necessary.

@AspirinSJL
Copy link
Member

I though this is solved by #19727? Please reopen if not.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants