Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: manage HTTP/1 to HTTP/2 requests #34

Open
wants to merge 2 commits into
base: 1.1.x
Choose a base branch
from
Open

Conversation

gcusnieux
Copy link
Member

@gcusnieux gcusnieux commented Jun 27, 2022

gravitee-io/issues#6719


Gravitee.io Automatic Deployment

🚀 A prerelease version of this package has been published on Gravitee's private artifactory, you can:

  • use it directly by updating your project with version: 1.1.12-6719-fix-http2-SNAPSHOT
  • download it from Artifactory here

@gcusnieux gcusnieux force-pushed the 6719-fix-http2 branch 3 times, most recently from 7aeb91f to 5f5904b Compare June 28, 2022 06:36
@gcusnieux gcusnieux marked this pull request as ready for review August 18, 2022 06:36
@gcusnieux gcusnieux requested review from a team as code owners August 18, 2022 06:36
Comment on lines +33 to +45
protected static final Set<CharSequence> HTTP2_ILLEGAL_HEADERS;

static {
HTTP2_ILLEGAL_HEADERS =
Set.of(
HttpHeaderNames.CONNECTION,
HttpHeaderNames.HOST,
HttpHeaderNames.PROXY_CONNECTION,
HttpHeaderNames.TRANSFER_ENCODING,
HttpHeaderNames.UPGRADE
);
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
protected static final Set<CharSequence> HTTP2_ILLEGAL_HEADERS;
static {
HTTP2_ILLEGAL_HEADERS =
Set.of(
HttpHeaderNames.CONNECTION,
HttpHeaderNames.HOST,
HttpHeaderNames.PROXY_CONNECTION,
HttpHeaderNames.TRANSFER_ENCODING,
HttpHeaderNames.UPGRADE
);
}
protected static final Set<CharSequence> HTTP2_ILLEGAL_HEADERS =
Set.of(
HttpHeaderNames.CONNECTION,
HttpHeaderNames.HOST,
HttpHeaderNames.PROXY_CONNECTION,
HttpHeaderNames.TRANSFER_ENCODING,
HttpHeaderNames.UPGRADE
);

@gaetanmaisse gaetanmaisse removed the request for review from brasseld July 20, 2023 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants