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

Implement RFC8441 Extended CONNECT #441

Merged
merged 4 commits into from
Jun 24, 2024
Merged

Implement RFC8441 Extended CONNECT #441

merged 4 commits into from
Jun 24, 2024

Conversation

ehaydenr
Copy link
Contributor

addresses #92

@Lukasa
Copy link
Contributor

Lukasa commented Jun 20, 2024

@swift-server-bot add to allowlist

@Lukasa Lukasa added the 🆕 semver/minor Adds new public API. label Jun 20, 2024
…ings.swift

Co-authored-by: Cory Benfield <lukasa@apple.com>
Copy link
Contributor

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

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

I left a couple of nits but otherwise this looks really good!

@@ -106,6 +106,7 @@ extension HeaderBlockValidator {
/// An object that can be used to validate if a given header block is a valid request header block.
fileprivate struct RequestBlockValidator {
private var isConnectRequest: Bool = false
private var containsProtocolPseudoheader: Bool = false
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: casing should be PseudoHeader

Sources/NIOHTTP2/HTTP2Error.swift Show resolved Hide resolved
@ehaydenr ehaydenr requested a review from glbrntt June 21, 2024 16:17
Copy link
Contributor

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

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

Nice patch, thanks @ehaydenr!

@glbrntt glbrntt merged commit 6af2cf6 into apple:main Jun 24, 2024
6 of 7 checks passed
@ehaydenr ehaydenr deleted the extconnect branch June 24, 2024 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 semver/minor Adds new public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants