File tree 2 files changed +3
-3
lines changed
Sources/AsyncHTTPClient/ConnectionPool/HTTP2
Tests/AsyncHTTPClientTests
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ final class HTTP2Connection {
129
129
delegate: delegate,
130
130
logger: logger
131
131
)
132
- return connection. start0 ( ) . map { maxStreams in ( connection, maxStreams) }
132
+ return connection. _start0 ( ) . map { maxStreams in ( connection, maxStreams) }
133
133
}
134
134
135
135
func executeRequest( _ request: HTTPExecutableRequest ) {
@@ -164,7 +164,7 @@ final class HTTP2Connection {
164
164
return promise. futureResult
165
165
}
166
166
167
- func start0 ( ) -> EventLoopFuture < Int > {
167
+ func _start0 ( ) -> EventLoopFuture < Int > {
168
168
self . channel. eventLoop. assertInEventLoop ( )
169
169
170
170
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 {
54
54
delegate: TestHTTP2ConnectionDelegate ( ) ,
55
55
logger: logger
56
56
)
57
- let startFuture = connection. start0 ( )
57
+ let startFuture = connection. _start0 ( )
58
58
59
59
XCTAssertNoThrow ( try embedded. close ( ) . wait ( ) )
60
60
// to really destroy the channel we need to tick once
You can’t perform that action at this time.
0 commit comments