mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-29 18:36:30 +02:00
add x-request-id in responses (#3366)
This commit is contained in:
parent
e624ad6331
commit
51e716ef54
2 changed files with 3 additions and 0 deletions
|
@ -441,6 +441,8 @@ func (b *Builder) buildMainHTTPConnectionManagerFilter(
|
|||
return nil, err
|
||||
}
|
||||
tc := marshalAny(&envoy_http_connection_manager.HttpConnectionManager{
|
||||
AlwaysSetRequestIdInResponse: true,
|
||||
|
||||
CodecType: options.GetCodecType().ToEnvoy(),
|
||||
StatPrefix: "ingress",
|
||||
RouteSpecifier: &envoy_http_connection_manager.HttpConnectionManager_RouteConfig{
|
||||
|
|
|
@ -134,6 +134,7 @@ func Test_buildMainHTTPConnectionManagerFilter(t *testing.T) {
|
|||
}
|
||||
}
|
||||
}],
|
||||
"alwaysSetRequestIdInResponse": true,
|
||||
"codecType": "HTTP1",
|
||||
"commonHttpProtocolOptions": {
|
||||
"idleTimeout": "300s"
|
||||
|
|
Loading…
Add table
Reference in a new issue