Skip to content

Conversation

IcoDeveloper
Copy link

@IcoDeveloper IcoDeveloper commented Nov 16, 2023

If hundreds of request are made in a short period of time, e.g. syncing huge amount data to device. We run into an "No Space Left on Device" error which seems to come from to many open, not invalidated NSURLSessions.

I looked into the original AFNetworking library code which reverted the change of dispatching the invalidation of session async.
AFNetworking/AFNetworking@2163a8b

Also fixing memory leaks in upload and download file request.

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.

1 participant