Fervi (IntinteDAO) a12cf9657a fix(nsurlsession): move bodyObserver to class ivars for fragile ABI and synchronize access
Under the fragile Objective-C runtime (such as i386 fat slices), Clang
forbids declaring instance variables inside class extensions:
'error: instance variables may not be placed in class extension'.
Move _bodyObserver into the internal __NSCFURLSessionDataTask class ivar
list in NSCFURLSession.h.

Also protect _bodyObserver reads and updates with @synchronized(self) to
prevent concurrent invocation and release across the curl transport
thread and task control threads.

Specification: Rung 3 (Objective-C runtime and language specification).
2026-11-06 13:50:07 +01:00
S
Description
Darling implementation of CFNetwork
694 KiB
0 Stars 1 Watchers 0 Forks
Languages
C 87.3%
Objective-C 8.1%
C++ 2.6%
Makefile 1.3%
JavaScript 0.4%
Other 0.3%