From f3289f9ac7b6f29d35f0d9abe5aac79ddac58bc8 Mon Sep 17 00:00:00 2001 From: Aryan Shah Date: Wed, 12 Aug 2026 11:09:03 +0100 Subject: [PATCH 1/2] Raise QUIC and HTTP/3 dependencies --- Package.swift | 4 ++-- .../Utilities/NIOClient/NIOClient+HTTP3.swift | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Package.swift b/Package.swift index c062e88..97d6ada 100644 --- a/Package.swift +++ b/Package.swift @@ -97,9 +97,9 @@ let package = Package( .package(url: "https://github.com/apple/swift-certificates.git", from: "1.19.3"), .package(url: "https://github.com/apple/swift-log.git", from: "1.14.0"), .package(url: "https://github.com/apple/swift-nio.git", from: "2.101.3"), - .package(url: "https://github.com/apple/swift-nio-quic.git", .upToNextMinor(from: "0.1.0")), + .package(url: "https://github.com/apple/swift-nio-quic.git", .upToNextMinor(from: "0.2.1")), .package(url: "https://github.com/apple/swift-nio-quic-helpers.git", .upToNextMinor(from: "0.1.0")), - .package(url: "https://github.com/apple/swift-nio-http3.git", .upToNextMinor(from: "0.1.0")), + .package(url: "https://github.com/apple/swift-nio-http3.git", .upToNextMinor(from: "0.2.0")), .package(url: "https://github.com/apple/swift-nio-ssl.git", from: "2.37.0"), .package(url: "https://github.com/apple/swift-nio-extras.git", from: "1.34.1"), .package(url: "https://github.com/apple/swift-nio-http2.git", from: "1.44.0"), diff --git a/Tests/NIOHTTPServerTests/Utilities/NIOClient/NIOClient+HTTP3.swift b/Tests/NIOHTTPServerTests/Utilities/NIOClient/NIOClient+HTTP3.swift index bb00b18..46b32fc 100644 --- a/Tests/NIOHTTPServerTests/Utilities/NIOClient/NIOClient+HTTP3.swift +++ b/Tests/NIOHTTPServerTests/Utilities/NIOClient/NIOClient+HTTP3.swift @@ -44,7 +44,9 @@ struct QUICConnectionCreator: HTTP3ConnectionCreator { } }, inboundStreamInitializer: self.inboundStreamInitializer - ) + ).map { connectionChannel, _ in + return connectionChannel + } } } From 4267d8b13c35a6ff47f29d78ed2abbd0df61c395 Mon Sep 17 00:00:00 2001 From: Aryan Shah Date: Wed, 12 Aug 2026 11:29:37 +0100 Subject: [PATCH 2/2] Formatting --- .../Utilities/NIOClient/NIOClient+HTTP3.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/NIOHTTPServerTests/Utilities/NIOClient/NIOClient+HTTP3.swift b/Tests/NIOHTTPServerTests/Utilities/NIOClient/NIOClient+HTTP3.swift index 46b32fc..112b86c 100644 --- a/Tests/NIOHTTPServerTests/Utilities/NIOClient/NIOClient+HTTP3.swift +++ b/Tests/NIOHTTPServerTests/Utilities/NIOClient/NIOClient+HTTP3.swift @@ -45,7 +45,7 @@ struct QUICConnectionCreator: HTTP3ConnectionCreator { }, inboundStreamInitializer: self.inboundStreamInitializer ).map { connectionChannel, _ in - return connectionChannel + connectionChannel } } }