Skip to content

Fix testQUICEcho1MiBAckBundling build after the handler became `Sen… - #225

Merged
rnro merged 1 commit into
apple:mainfrom
rnro:ack-bundling-test-sendable
Oct 6, 2026
Merged

rnro merged 1 commit into
apple:mainfrom
rnro:ack-bundling-test-sendable

Conversation

@rnro

@rnro rnro commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

…dable`

BridgeObserveFrameHandler became @Sendable at the same time as testQUICEcho1MiBAckBundling landed, and that test's handler appends to a captured var, which Swift 6 rejects in a @Sendable closure. The test target no longer builds.

The observed packet sizes are now collected in a Mutex, as testQUICDatagramWithLargeInitialPacketSize already does.

…dable`

`BridgeObserveFrameHandler` became `@Sendable` at the same time as
`testQUICEcho1MiBAckBundling` landed, and that test's handler appends to a
captured `var`, which Swift 6 rejects in a `@Sendable` closure. The test
target no longer builds.

The observed packet sizes are now collected in a `Mutex`, as
`testQUICDatagramWithLargeInitialPacketSize` already does.
@rnro rnro added the semver/none No version bump required. label Oct 6, 2026

@agnosticdev agnosticdev left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@rnro
rnro merged commit dde6cf1 into apple:main Oct 6, 2026
37 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants