File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
apis/projectcontour/v1alpha1 Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ type EnvoyListenerConfig struct {
438
438
// connection open where possible (if the entire request is read for HTTP/1.1)
439
439
//
440
440
// +optional
441
- StreamErrorOnInvalidHTTP bool `json:"streamErrorOnInvalidHTTP,omitempty"`
441
+ StreamErrorOnInvalidHTTP * bool `json:"streamErrorOnInvalidHTTP,omitempty"`
442
442
}
443
443
444
444
// SocketOptions defines configurable socket options for Envoy listeners.
Original file line number Diff line number Diff line change @@ -402,6 +402,7 @@ func (c *ListenerCache) OnChange(root *dag.DAG) {
402
402
StripTrailingHostDot (cfg .StripTrailingHostDot ).
403
403
MaxRequestsPerConnection (cfg .MaxRequestsPerConnection ).
404
404
HTTP2MaxConcurrentStreams (cfg .HTTP2MaxConcurrentStreams ).
405
+ StreamErrorOnInvalidHTTP (cfg .StreamErrorOnInvalidHTTP ).
405
406
AddFilter (httpGlobalExternalAuthConfig (cfg .GlobalExternalAuthConfig )).
406
407
Tracing (envoy_v3 .TracingConfig (envoyTracingConfig (cfg .TracingConfig ))).
407
408
AddFilter (envoy_v3 .GlobalRateLimitFilter (envoyGlobalRateLimitConfig (cfg .RateLimitConfig ))).
@@ -482,6 +483,7 @@ func (c *ListenerCache) OnChange(root *dag.DAG) {
482
483
ForwardClientCertificate (forwardClientCertificate ).
483
484
MaxRequestsPerConnection (cfg .MaxRequestsPerConnection ).
484
485
HTTP2MaxConcurrentStreams (cfg .HTTP2MaxConcurrentStreams ).
486
+ StreamErrorOnInvalidHTTP (cfg .StreamErrorOnInvalidHTTP ).
485
487
EnableWebsockets (listener .EnableWebsockets ).
486
488
Get ()
487
489
@@ -565,6 +567,7 @@ func (c *ListenerCache) OnChange(root *dag.DAG) {
565
567
ForwardClientCertificate (forwardClientCertificate ).
566
568
MaxRequestsPerConnection (cfg .MaxRequestsPerConnection ).
567
569
HTTP2MaxConcurrentStreams (cfg .HTTP2MaxConcurrentStreams ).
570
+ StreamErrorOnInvalidHTTP (cfg .StreamErrorOnInvalidHTTP ).
568
571
EnableWebsockets (listener .EnableWebsockets ).
569
572
Get ()
570
573
Original file line number Diff line number Diff line change @@ -1112,7 +1112,8 @@ func Defaults() Parameters {
1112
1112
EnvoyAdminPort : 9001 ,
1113
1113
},
1114
1114
Listener : ListenerParameters {
1115
- ConnectionBalancer : "" ,
1115
+ ConnectionBalancer : "" ,
1116
+ StreamErrorOnInvalidHTTP : false ,
1116
1117
},
1117
1118
}
1118
1119
}
You can’t perform that action at this time.
0 commit comments