Frederik Seiffert
1efd805421
NSURLSession: improve protocol detection
2023-03-11 20:22:00 +01:00
Frederik Seiffert
82d9917c2c
NSURLSession: implement missing body data for data completion handlers
...
Now using the previously unused "in-memory" body data drain if a task has a completion handler, which requires the full body to be passed on completion.
Also consolidated private NSURLSessionTask methods, some of which were previously implemented twice in separate categories with the same name, leading to possible undefined runtime behavior.
2023-03-11 20:22:00 +01:00
Frederik Seiffert
c0a6227013
NSURLSession: call getTasks callbacks on delegate queue
...
Matches the documented behavior.
2023-03-11 20:22:00 +01:00
Frederik Seiffert
3c27683c03
NSURLSession: create dispatch queues using target and use lock instead of queue for session identifier
...
Creating stand-alone dispatch queues without a target is discouraged.
2023-03-11 20:22:00 +01:00
Frederik Seiffert
18f81f9ccc
Fix NSURLSession memory management of libdispatch objects and overrelease in GSHTTPURLProtocol.
2023-03-11 20:22:00 +01:00
Frederik Seiffert
2f5b26df06
Add missing NSURLSession APIs
2023-03-11 20:22:00 +01:00
Hugo Melder
a2eb35fd2f
Remove undefined macro
2022-08-23 19:12:01 +02:00
Nuntius
b2983dc77a
Workaround for the session retain loop
2021-09-04 13:07:14 +02:00
Nuntius
a0ab740234
Implement URLSession:downloadTask:didFinishDownloadingToURL: delegate
2021-08-28 20:33:19 +02:00
Nuntius
d3e40dfc9d
Begin implementation of NSURLSessionDownloadTask
2021-08-27 21:56:08 +02:00
Richard Frith-Macdonald
782e7aed31
Fix for -setHTTPMaximumConnectionLifetime:
2021-05-05 12:04:28 +01:00
Richard Frith-Macdonald
1b7bf26bea
Merge changes for NSURLSession from EngageHub (formerly Brainstorm).
2020-11-29 06:57:47 -05:00
Daniel Ferreira
7636967f30
api: generate stubs for new classes
...
Generate class stubs (without any method definition) for
NSFileCoordinator, NSFilePresenter, NSFileVersion and NSURLSession.
2017-06-29 21:18:16 +01:00