Skip to content

Sync access to web socket continuations#633

Merged
pblazej merged 2 commits into
mainfrom
blaze/socket-continuation
Mar 17, 2025
Merged

Sync access to web socket continuations#633
pblazej merged 2 commits into
mainfrom
blaze/socket-continuation

Conversation

@pblazej

@pblazej pblazej commented Mar 14, 2025

Copy link
Copy Markdown
Contributor

Resolves #528

Turning WebSocket into an actor would do more harm than good (nonisolated deinit, nonisolated requirements). Nullifying in the critical section is the only way to prevent double resume().

@ilo-nanpa

ilo-nanpa Bot commented Mar 14, 2025

Copy link
Copy Markdown

it seems like you haven't added any nanpa changeset files to this PR.

if this pull request includes changes to code, make sure to add a changeset, by writing a file to .nanpa/<unique-name>.kdl:

minor type="added" "Introduce frobnication algorithm"

refer to the manpage for more information.

@pblazej pblazej requested a review from hiroshihorie March 14, 2025 12:49

@hiroshihorie hiroshihorie left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice ✅

@pblazej pblazej merged commit f17581a into main Mar 17, 2025
@pblazej pblazej deleted the blaze/socket-continuation branch March 17, 2025 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WebSocket "SWIFT TASK CONTINUATION MISUSE" crash

2 participants