Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Conversation

@rob05c
Copy link
Member

@rob05c rob05c commented Jul 7, 2022

Change t3c sni.yaml disable_h2 to http2 directive

ATS 9 is documented as allowing the disable_h2 directive in sni.yaml
(albiet deprecated). But it doesn't seem to work.

This changes cache config gen to generate the newer http2 directive
instead.

I'm labelling bug because even though this isn't a bug per the ATS documentation, it appears to create a behavioral bug in-practice.

Which Traffic Control components are affected by this PR?

  • Traffic Control Cache Config (t3c, formerly ORT)

What is the best way to verify this PR?

Generate cache config, verify sni.yaml has http2: directives instead of disable_h2 directives. Run ATS 9 with generated config, verify ATS enables or disables H2 appropriately.

If this is a bugfix, which Traffic Control versions contained the bug?

  • 6.0.0
  • 6.0.1
  • 6.0.2
  • 6.1.0

PR submission checklist

  • This PR has tests
  • [x] This PR has documentation no docs, details of cache config generated files are not documented
  • This PR has a CHANGELOG.md entry
  • This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

@rob05c rob05c added bug something isn't working as intended cache-config Cache config generation labels Jul 7, 2022
@rob05c rob05c force-pushed the change-t3c-h2-disable-to-enable branch 2 times, most recently from 8db60b1 to 5ed892f Compare July 7, 2022 19:45
ATS 9 is documented as allowing the disable_h2 directive in sni.yaml
(albiet deprecated). But it doesn't seem to work.

This changes cache config gen to generate the newer http2 directive
instead.
@rob05c rob05c force-pushed the change-t3c-h2-disable-to-enable branch from 5ed892f to a108281 Compare July 8, 2022 14:27
Copy link
Member

@ezelkow1 ezelkow1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ocket8888 ocket8888 merged commit 3e9d51f into apache:master Jul 18, 2022
@smalenfant
Copy link
Contributor

Closes #6816

zrhoffman pushed a commit to zrhoffman/trafficcontrol that referenced this pull request Oct 2, 2022
ATS 9 is documented as allowing the disable_h2 directive in sni.yaml
(albiet deprecated). But it doesn't seem to work.

This changes cache config gen to generate the newer http2 directive
instead.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug something isn't working as intended cache-config Cache config generation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants