-
Notifications
You must be signed in to change notification settings - Fork 84
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
Conversation
@swift-server-bot add to allowlist |
Sources/NIOHTTP2/ConnectionStateMachine/HasExtendedConnectSettings.swift
Outdated
Show resolved
Hide resolved
…ings.swift Co-authored-by: Cory Benfield <lukasa@apple.com>
There was a problem hiding this 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 |
There was a problem hiding this comment.
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
There was a problem hiding this 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!
addresses #92