File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Sources/AsyncHTTPClient/ConnectionPool/HTTP2
Tests/AsyncHTTPClientTests Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ final class HTTP2Connection {
129129 delegate: delegate,
130130 logger: logger
131131 )
132- return connection. start0 ( ) . map { maxStreams in ( connection, maxStreams) }
132+ return connection. _start0 ( ) . map { maxStreams in ( connection, maxStreams) }
133133 }
134134
135135 func executeRequest( _ request: HTTPExecutableRequest ) {
@@ -164,7 +164,7 @@ final class HTTP2Connection {
164164 return promise. futureResult
165165 }
166166
167- func start0 ( ) -> EventLoopFuture < Int > {
167+ func _start0 ( ) -> EventLoopFuture < Int > {
168168 self . channel. eventLoop. assertInEventLoop ( )
169169
170170 let readyToAcceptConnectionsPromise = self . channel. eventLoop. makePromise ( of: Int . self)
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ class HTTP2ConnectionTests: XCTestCase {
5454 delegate: TestHTTP2ConnectionDelegate ( ) ,
5555 logger: logger
5656 )
57- let startFuture = connection. start0 ( )
57+ let startFuture = connection. _start0 ( )
5858
5959 XCTAssertNoThrow ( try embedded. close ( ) . wait ( ) )
6060 // to really destroy the channel we need to tick once
You can’t perform that action at this time.
0 commit comments