Skip to content

Commit

Permalink
disable h2 at all
Browse files Browse the repository at this point in the history
  • Loading branch information
therealak12 committed Nov 6, 2023
1 parent 7437c33 commit f625a2e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/controller/route/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,10 @@ func (r *Reconciler) assembleHttpproxy(ctx context.Context, owner *routev1.Route

// Enable h2 and http/1.1 by default.
// Later we disable h2 for a specific set of routes
httpproxy.Spec.HttpVersions = []contourv1.HttpVersion{"h2", "http/1.1"}

// Commented temporarily to check if a bug is fixed
//httpproxy.Spec.HttpVersions = []contourv1.HttpVersion{"h2", "http/1.1"}
httpproxy.Spec.HttpVersions = []contourv1.HttpVersion{"http/1.1"}

if owner.Spec.TLS != nil {
switch owner.Spec.TLS.Termination {
Expand Down

0 comments on commit f625a2e

Please sign in to comment.