Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.0.x] Fix crash when using WebSockets with URLSession.shared #5131

Merged

Conversation

jrflat
Copy link
Contributor

@jrflat jrflat commented Nov 3, 2024

Explanation: Prevents a fatalError when using a URLSessionWebSocketTask from URLSession.shared.
Scope: Only impacts URLSessionWebSocketTask.
Original PR: #5128
Risk: Low - Small change to not fatalError in a supported config.
Testing: Added unit test, local testing with websocket-enabled curl, swift-ci
Reviewer: @parkera

Resolves #4730 for release/6.0

@jrflat
Copy link
Contributor Author

jrflat commented Nov 3, 2024

@swift-ci please test

@jrflat jrflat merged commit bac9047 into swiftlang:release/6.0 Nov 4, 2024
2 checks passed
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.

2 participants