diff --git a/adapter/internal/oasparser/envoyconf/http_filters.go b/adapter/internal/oasparser/envoyconf/http_filters.go index e367e3e2d..a59b86a86 100644 --- a/adapter/internal/oasparser/envoyconf/http_filters.go +++ b/adapter/internal/oasparser/envoyconf/http_filters.go @@ -239,6 +239,7 @@ func getExtProcessHTTPFilter() *hcmv3.HttpFilter { }, Timeout: durationpb.New(conf.Envoy.EnforcerResponseTimeoutInSeconds * time.Second), }, + FailureModeAllow: true, ProcessingMode: &ext_process.ProcessingMode{ ResponseBodyMode: ext_process.ProcessingMode_BUFFERED, RequestHeaderMode: ext_process.ProcessingMode_SKIP, @@ -254,6 +255,7 @@ func getExtProcessHTTPFilter() *hcmv3.HttpFilter { }, RequestAttributes: []string{"xds.route_metadata"}, ResponseAttributes: []string{"xds.route_metadata"}, + MessageTimeout: durationpb.New(conf.Envoy.EnforcerResponseTimeoutInSeconds * time.Second), } ext, err2 := anypb.New(externalProcessor) if err2 != nil {