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

Avoid creating multiple URLSessions #1011

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bgoncal
Copy link

@bgoncal bgoncal commented Mar 25, 2024

Issue Link πŸ”—

Please attach the link to an issue if it exists.

Goals ⚽

What you hope to address within this PR.

Apple guidelines recommend that we don't create several URLSession, also, some users may face POSIXErrorCode(rawValue: 28): No space left on device when a certain number of URLSessions were already created. I don't know all edge cases that this lib handles, so this is just an initial suggestion

Related: https://stackoverflow.com/questions/67318867/error-domain-nsposixerrordomain-code-28-no-space-left-on-device-userinfo-kcf

Implementation Details 🚧

Additional details about the PR.

@bgoncal
Copy link
Author

bgoncal commented Apr 18, 2024

@daltoniam Do you think we can merge this one?

@algrid
Copy link

algrid commented Nov 20, 2024

It would be great to merge this fix, I also have this problem with too many URLSessions.

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