Timeout on route not working when max_stream_duration is also set
- Dominant language
- C++
- Stars
- 28.9k
- Forks
- 5.6k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 437
Description
When we have Route max_stream_duration and route timeout used at the same time then the route time out is not taking affect.
Steps to repro:
Apply EnvoyFilter to configure max_stream_duration and timeout and test those timeouts e.g. by sending a request to httpbin/delay/xxx endpoint
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
name: filter-route-maxstreamduration
namespace: ns2
spec:
configPatches:
- applyTo: HTTP_ROUTE
match:
context: SIDECAR_OUTBOUND
routeConfiguration:
portNumber: 5001
vhost:
name: \"nettools-python.ns2.svc.cluster.local:5001\"
patch:
operation: MERGE
value:
route:
**timeout: 10s**
idle_timeout: 14s
max_stream_duration:
**max_stream_duration: 1s**
Checked older history of issues, found a similar one https://github.com/envoyproxy/envoy/issues/19073 but this looks to be not fixed yet.
Contributor guide
Assessment
This issue has not been assessed yet.