Skip to content

Commit

Permalink
Merge pull request #2539 from Tharsanan1/fix-integ-failure
Browse files Browse the repository at this point in the history
Add failuremode allow
  • Loading branch information
Tharsanan1 authored Oct 5, 2024
2 parents 2a4231c + 7740873 commit 047f893
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adapter/internal/oasparser/envoyconf/http_filters.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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 {
Expand Down

0 comments on commit 047f893

Please sign in to comment.