Skip to content

fix: require SSL when HTTP/2 is enabled - #1

Merged
karozadev merged 4 commits into
karozadev:mainfrom
sanrandry:fix/http2-requires-ssl
Aug 18, 2026
Merged

karozadev merged 4 commits into
karozadev:mainfrom
sanrandry:fix/http2-requires-ssl

Conversation

@sanrandry

Copy link
Copy Markdown
Contributor

HTTP2 without SSL produced a plain HTTP listener with http2 on;. Reject it early and cover it with a test.

@sanrandry

Copy link
Copy Markdown
Contributor Author

This pull request was requested by our master.

Remove unnecessary blank line before TestServerValidate_HTTP2RequiresSSL function.
Removed unnecessary blank lines in the validate.go file.
@karozadev
karozadev merged commit 6e37e14 into karozadev:main Aug 18, 2026
5 checks passed
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.

2 participants