Commit graph

5 commits

Author SHA1 Message Date
rfm
ec914793c3 fix for #302 2024-02-11 19:50:06 +00: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
15499e1017 NSURLSession: optimized timout timer and fixed memory management 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
Richard Frith-Macdonald
1b7bf26bea Merge changes for NSURLSession from EngageHub (formerly Brainstorm). 2020-11-29 06:57:47 -05:00