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

[zuul-core] Replace http only channel initializer with ALPN based #932

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

argha-c
Copy link
Collaborator

@argha-c argha-c commented Nov 18, 2020

This enforces SSL based initialization, with ALPN based swapping of the appropriate protocol handlers.
Edit: This is likely a breaking change, for those relying on the non-SSL based http only initializer today.

@argha-c argha-c changed the title Replace http only channel initializer with ALPN based [zuul-core] Replace http only channel initializer with ALPN based Nov 18, 2020
@artgon
Copy link
Contributor

artgon commented Nov 18, 2020

This is a breaking change and could impact users that don't want to run SSL-based servers.

EDIT: also breaks use cases that don't want/need ALPN/HTTP2

@@ -51,18 +51,6 @@
private final SwallowSomeHttp2ExceptionsHandler swallowSomeHttp2ExceptionsHandler;
private final String metricId;


/**
* Use {@link #Http2SslChannelInitializer(String, ChannelConfig, ChannelConfig, ChannelGroup)} instead.
Copy link
Contributor

Choose a reason for hiding this comment

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

The reason this is deprecated (and not deleted) is because this is a backward incompatible change.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Well, the reason we deprecate is to eventually be able to remove.
I see this was only deprecated recently. We should probably make the deprecation window explicit.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, I would cut a minor release, then probably make this change. It's not actually semver, but it's enough to be able to upgrade.

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.

None yet

3 participants