Skip to content

Commit e9de55e

Browse files
committed
set HTTPVersion explictly to automatic
1 parent eab5966 commit e9de55e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/AsyncHTTPClientTests/HTTP2ClientTests.swift

+1
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ class HTTP2ClientTests: XCTestCase {
266266
var tlsConfig = TLSConfiguration.makeClientConfiguration()
267267
tlsConfig.certificateVerification = .none
268268
config.tlsConfiguration = tlsConfig
269+
config.httpVersion = .automatic
269270
config.timeout.read = .milliseconds(100)
270271
let client = HTTPClient(
271272
eventLoopGroupProvider: .createNew,

0 commit comments

Comments
 (0)