mirror of
https://github.com/apple/swift-nio
synced 2026-11-29 05:24:21 +00:00
Adopt Sendable for types in NIOHTTP1 (#2213)
This commit is contained in:
1 parent
f4b0d661c1
commit
0abf7eb929
8 files changed
+66
-11
No files matched your search
@@ -369,6 +369,10 @@ public final class NIOHTTPClientUpgradeHandler: ChannelDuplexHandler, RemovableC
|
||||
}
|
||||
}
|
||||
|
||||
#if swift(>=5.5) && canImport(_Concurrency)
|
||||
extension NIOHTTPClientUpgradeHandler: @unchecked Sendable {}
|
||||
#endif
|
||||
|
||||
extension NIOHTTPClientUpgradeHandler {
|
||||
/// The state of the upgrade handler.
|
||||
fileprivate enum UpgradeState {
|
||||
|
||||
Reference in new issue
Block a user