-
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
Inline http2 fixups #402
Inline http2 fixups #402
Conversation
private func _commonHTTPServerPipeline(configurator: @escaping (Channel) -> EventLoopFuture<Void>, | ||
h2ConnectionChannelConfigurator: ((Channel) -> EventLoopFuture<Void>)?, | ||
configureHTTP2Pipeline: @escaping (Channel) -> EventLoopFuture<T>) -> EventLoopFuture<Void> { | ||
configureHTTP2Pipeline: @escaping (Channel) -> EventLoopFuture<Void>) -> EventLoopFuture<Void> { |
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: indentation is inconsistent now
h2ConnectionChannelConfigurator: ((Channel) -> EventLoopFuture<Void>)?, | ||
configureHTTP2Pipeline: @escaping (Channel) -> EventLoopFuture<Void> | ||
) -> EventLoopFuture<Void> { | ||
let h2ChannelConfigurator = { (channel: Channel) -> EventLoopFuture<Void> in |
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.
Don't hate me but this line is now over-indented...
let h2ChannelConfigurator = { (channel: Channel) -> EventLoopFuture<Void> in | |
let h2ChannelConfigurator = { (channel: Channel) -> EventLoopFuture<Void> in |
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.
Fixing minutia is what this is all about
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.
Don't hate me but that should be minutiae, minutia is singular.
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.
🤦 Getting that correct was my only criterion too
* remove redundant generics * rename variables `clientHandler` -> `clientMultiplexer` where appropriate
There are a few places where bugs / poorly structured code crept in during the inline multiplexer work. This attempts to address some of them: