apple / swift-nio-ssl

TLS Support for SwiftNIO, based on BoringSSL.
https://swiftpackageindex.com/apple/swift-nio-ssl/main/documentation/niossl
Apache License 2.0
388 stars 139 forks source link

Adopt `Sendable` incrementally #395

Closed dnadoba closed 2 years ago

dnadoba commented 2 years ago

Incremental Sendable adoption. Follow up of https://github.com/apple/swift-nio-ssl/pull/392

Properties are not marked with @preconcurrency because we otherwise get warnings because of https://github.com/apple/swift/issues/60508 I think that the latest Swift 5.7 toolchain doesn't produces any errors related to Sendable requirements in this context and we therefore don't actually need @preconcurrency here.

Lukasa commented 2 years ago

Can you also clean up the test errors on nightly?