You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow ability to update max_stream_duration dynamically
Description
We want to do some work at the start of the decodeHeaders of our downstream request and not count it against our max_stream_duration. We can dynamically update the request timeout by setting x-envoy-upstream-rq-timeout-ms in our decodeHeaders to account for this. However the timer is stopped after the request decoder filter ends or the response has started.
Given a response could send the headers (disarming the timer) and be streaming the body, we have no way to enforce this other than using max_stream_duration.
The HTTP protocol max_stream_duration is defined in a generic message used by the HTTP connection manager. The max stream duration is the maximum time that a stream’s lifetime will span. You can use this functionality when you want to reset HTTP request/response streams periodically. You can’t use request_timeout in this situation because this timer will be disarmed if a response header is received on the request/response streams. This timeout is available on both upstream and downstream connections.
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 "no stalebot" 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" or "no stalebot". Thank you for your contributions.
Activity
mattklein123 commentedon Dec 7, 2020
Seems reasonable to allow this to be modified by a filter somehow. Feel free to propose something concrete!
github-actions commentedon Jan 6, 2021
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 "no stalebot" or other activity occurs. Thank you for your contributions.
github-actions commentedon Jan 13, 2021
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" or "no stalebot". Thank you for your contributions.
Shikugawa commentedon Mar 9, 2021
@mattklein123 This feature can be required in a special situation. Could we reopen this?