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

upport go1.21 #3

Merged
merged 1 commit into from
Jun 20, 2024
Merged

upport go1.21 #3

merged 1 commit into from
Jun 20, 2024

Conversation

cuonglm
Copy link
Owner

@cuonglm cuonglm commented Jun 20, 2024

The QUIC protocol has been supported in standard library since go1.21 release. But the trick to use tls.Server for reading SNI has not been supported yet.

This commit changes the code to parse the raw tls handshake message, thus allowing support for go1.21 and above.

@cuonglm cuonglm force-pushed the support-go-1.21 branch 2 times, most recently from d79e947 to b9e007f Compare June 20, 2024 11:05
The QUIC protocol has been supported in standard library since go1.21
release. But the trick to use tls.Server for reading SNI has not been
supported yet.

This commit changes the code to parse the raw tls handshake message,
thus allowing support for go1.21 and above.
@cuonglm cuonglm merged commit 16a5caf into main Jun 20, 2024
3 checks passed
@cuonglm cuonglm deleted the support-go-1.21 branch June 20, 2024 11:07
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.

1 participant