File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -486,6 +486,12 @@ func (b *httpConnectionManagerBuilder) Get() *envoy_listener_v3.Filter {
486
486
AcceptHttp_10 : true ,
487
487
AllowChunkedLength : b .allowChunkedLength ,
488
488
},
489
+ Http2ProtocolOptions : & envoy_core_v3.Http2ProtocolOptions {
490
+ MaxConcurrentStreams : wrapperspb .UInt32 (100 ),
491
+ HpackTableSize : wrapperspb .UInt32 (4096 ),
492
+ InitialStreamWindowSize : wrapperspb .UInt32 (65535 ),
493
+ InitialConnectionWindowSize : wrapperspb .UInt32 (65535 ),
494
+ },
489
495
490
496
UseRemoteAddress : wrapperspb .Bool (true ),
491
497
XffNumTrustedHops : b .numTrustedHops ,
Original file line number Diff line number Diff line change @@ -36,8 +36,13 @@ func RuntimeLayers() []*envoy_service_runtime_v3.Runtime {
36
36
func baseRuntimeLayer () * structpb.Struct {
37
37
return & structpb.Struct {
38
38
Fields : map [string ]* structpb.Value {
39
- "re2.max_program_size.error_level" : {Kind : & structpb.Value_NumberValue {NumberValue : maxRegexProgramSizeError }},
40
- "re2.max_program_size.warn_level" : {Kind : & structpb.Value_NumberValue {NumberValue : maxRegexProgramSizeWarn }},
39
+ "re2.max_program_size.error_level" : structpb .NewNumberValue (maxRegexProgramSizeError ),
40
+ "re2.max_program_size.warn_level" : structpb .NewNumberValue (maxRegexProgramSizeWarn ),
41
+ "overload.premature_reset_total_stream_count" : structpb .NewNumberValue (50 ),
42
+ "overload.premature_reset_min_stream_lifetime_seconds" : structpb .NewNumberValue (1 ),
43
+ "http.max_requests_per_io_cycle" : structpb .NewNumberValue (10 ),
44
+ "envoy.resource_limits.listener.ingress_https.connection_limit" : structpb .NewNumberValue (10000 ),
45
+ "envoy.resource_limits.listener.ingress_http.connection_limit" : structpb .NewNumberValue (10000 ),
41
46
},
42
47
}
43
48
}
You can’t perform that action at this time.
0 commit comments