Skip to content

Conversation

@icodening
Copy link
Contributor

What is the purpose of the change

Support passing detect context to help build netty handlers.

Supports multiple versions of the same protocol, for example: HTTP -> HTTP1, HTTP2, HTTP3

Brief changelog

Copy link
Member

@EarthChen EarthChen left a comment

Choose a reason for hiding this comment

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

LGTM

private final Channel channel;
private ChannelHandler handler;

private ProtocolDetector.Result detectResult;
Copy link
Member

Choose a reason for hiding this comment

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

Where will this be used? I don't seem to see a place to use it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is for the triple protocol to support both http1 and http2

@EarthChen EarthChen changed the base branch from 3.2 to 3.3 June 7, 2023 03:07
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 7, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

4.6% 4.6% Coverage
0.0% 0.0% Duplication

@EarthChen EarthChen merged commit 391d3cd into apache:3.3 Jun 7, 2023
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