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
Explanation: Prevents a
fatalError
when using aURLSessionWebSocketTask
fromURLSession.shared
. Scope: Only impactsURLSessionWebSocketTask
. Original PR: #5128 Risk: Low - Small change to notfatalError
in a supported config. Testing: Added unit test, local testing with websocket-enabled curl, swift-ci Reviewer: @parkeraResolves #4730 for
release/6.0