Skip to content

Commit

Permalink
Adopt Sendable for TLSConfiguration (#397)
Browse files Browse the repository at this point in the history
Should have been already included in #395
  • Loading branch information
dnadoba authored Aug 23, 2022
1 parent c250a5c commit a6f9a03
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/NIOSSL/TLSConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,10 @@ public struct TLSConfiguration {
}
}

#if swift(>=5.7)
extension TLSConfiguration: Sendable {}
#endif

// MARK: BestEffortHashable
extension TLSConfiguration {
/// Returns a best effort result of whether two ``TLSConfiguration`` objects are equal.
Expand Down

0 comments on commit a6f9a03

Please sign in to comment.