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

[Proposal] New HTTP loader for URLSession #1135

Merged
merged 4 commits into from
Feb 10, 2025

Conversation

guoye-zhang
Copy link
Contributor

@guoye-zhang guoye-zhang commented Jan 22, 2025

The new HTTP stack built in Network framework was enabled in Safari on iOS 18 and macOS Sequoia. It supports new features like 0-RTT early data, oblivious HTTP, WebSocket over HTTP/2, and unix domain socket. Support for FTP and HTTP/1 pipelining was dropped.

In this proposal, we are introducing an API to enable the new HTTP loader in URLSession on Darwin, as well as deprecating several legacy features not supported in the new stack.

Implementation: swiftlang/swift-corelibs-foundation#5162

@itingliu itingliu added the proposal This PR is for a proposal label Feb 4, 2025
Copy link
Contributor

@itingliu itingliu left a comment

Choose a reason for hiding this comment

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

  • Please also update the filename to be 0018-...

Proposals/NNNN-urlsession-new-loader.md Outdated Show resolved Hide resolved
Proposals/NNNN-urlsession-new-loader.md Outdated Show resolved Hide resolved
Proposals/NNNN-urlsession-new-loader.md Outdated Show resolved Hide resolved
@itingliu
Copy link
Contributor

itingliu commented Feb 4, 2025

@swift-ci please test

@guoye-zhang
Copy link
Contributor Author

@swift-ci please test

@guoye-zhang guoye-zhang merged commit 53b314b into swiftlang:main Feb 10, 2025
2 of 3 checks passed
@guoye-zhang guoye-zhang deleted the new-http-loader branch February 10, 2025 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal This PR is for a proposal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants