mirror of
https://github.com/apple/container.git
synced 2026-10-25 08:08:29 +00:00
Add a public constructor to HTTP2ConnectBufferingHandler.swift (#695)
Adds a public constructor to `HTTP2ConnectBufferingHandler.swift`. This is a follow-up to https://github.com/apple/containerization/pull/694.
This commit is contained in:
1 parent
7874529578
commit
bbea928c9e
1 file changed
+2
@@ -48,6 +48,8 @@ public final class HTTP2ConnectBufferingHandler: ChannelDuplexHandler, Removable
|
||||
private var removalScheduled = false
|
||||
private var bufferedReads: [NIOAny] = []
|
||||
|
||||
public init() {}
|
||||
|
||||
public func channelRead(context: ChannelHandlerContext, data: NIOAny) {
|
||||
bufferedReads.append(data)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user