Skip to content

Commit 3b389ec

Browse files
committed
Fix SwiftNetworkConnectionTests build
1 parent 6c6c7c1 commit 3b389ec

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Sources/SwiftNetwork/Connection/Connection.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ public struct DatagramBridge: DatagramProtocol, Sendable {
990990
#if !NETWORK_EMBEDDED
991991
@_spi(Essentials)
992992
@available(Network 0.1.0, *)
993-
public struct StreamBridge: StreamProtocol {
993+
public struct StreamBridge: StreamProtocol, Sendable {
994994
public typealias ContentType = Void
995995

996996
public let belowProtocol: Void
@@ -1010,8 +1010,8 @@ public struct StreamBridge: StreamProtocol {
10101010

10111011
@_spi(Essentials)
10121012
@available(Network 0.1.0, *)
1013-
public struct NoTransport: StreamProtocol {
1014-
public enum BelowProtocol {
1013+
public struct NoTransport: StreamProtocol, Sendable {
1014+
public enum BelowProtocol: Sendable {
10151015
case void
10161016
#if !NETWORK_EMBEDDED
10171017
case bridge(StreamBridge)
@@ -1331,7 +1331,7 @@ public struct QUIC: MultiplexProtocol {
13311331
/// > Note: This type is not intended to be inserted into the protocol stack manually; it is vended by connections that use QUIC.
13321332
@_spi(Essentials)
13331333
@available(Network 0.1.0, *)
1334-
public struct QUICStream: StreamProtocol {
1334+
public struct QUICStream: StreamProtocol, Sendable {
13351335
public let belowProtocol: Void
13361336

13371337
public enum Directionality: Equatable {

0 commit comments

Comments
 (0)