-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Difference between "idle_timeout" and "stream_idle_timeout" in HttpConnectionManager? #7578
Comments
"idle_timeout" is the time that a connection will stay alive when there are no active streams. "stream_idle_timeout" is the time that a stream will stay alive when there are is no activity in either direction (headers, data, trailers, etc.). Doc updates appreciated! |
Related issue #7420 |
Thanks @mattklein123 . In this sense if we translated the timers to nginx land we would have: HttpConnectionManager.idle_timeout = HttpConnectionManager.stream_idle_timeout is somewhat similar to http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_send_timeout and It's too late now, but I might not have used the term "idle" in the configuration key stream_idle_timeout - and possibly gone with: idle_timeout - how long HTTP keepalive TCP sessions should live if not being used. Just my 2c :) Thanks again! |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions. |
Hey Team,
We're trying to set a timeout on idle keepalive HTTP sessions that are not in the process of sending a request nor waiting for a reply. So your stock standard idle keepalive session.
We're not using gRPC, just vanilla HTTP.
We're curious how "stream_idle_timeout" differs from "idle_timeout" and which one is more appropriate to set and why?
https://www.envoyproxy.io/docs/envoy/latest/api-v2/config/filter/network/http_connection_manager/v2/http_connection_manager.proto
Looking at the documentation for those two they seem quite similar.
Is "stream_idle_timeout" specific to gRPC identified sessions? A few of us here looked through the code and (we're not experts with the code base) couldn't tell how "idle_timeout" and "stream_idle_timeout" differ from one another, one of us even believes they are effectively identical as a code level and mean the same thing.
The text was updated successfully, but these errors were encountered: