mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-28 05:14:25 +00:00
Clean up tests. (#9)
Motivation: Our tests were failing as a result of the previous commit changing the HTTP/2 lifecycle. Modifications: Fired channelActive in a few tests, correctly propagated channelInactive. Result: Tests should pass.
This commit is contained in:
1 parent
d17462f586
commit
36321d080e
2 files changed
+3
-1
No files matched your search
@@ -192,7 +192,6 @@ public final class HTTP2Parser: ChannelInboundHandler, ChannelOutboundHandler {
|
||||
public func channelInactive(ctx: ChannelHandlerContext) {
|
||||
self.reentrancyManager.eofType = .channelInactive
|
||||
self.reentrancyManager.process(ctx: ctx, self.process)
|
||||
ctx.fireChannelInactive()
|
||||
}
|
||||
|
||||
public func userInboundEventTriggered(ctx: ChannelHandlerContext, event: Any) {
|
||||
|
||||
Reference in new issue
Block a user