Files
react-native/Libraries
Mehdi Mulani 2fbe956aac Make NSData usage in RCTNetworkTask threadsafe
Summary:
@public
We're seeing crashes from multiple threads trying to call `[NSData appendData:]` at the same time. Usually the RCTURLRequestHandlers implementation avoids this but if you're using a background queue, it is pretty easy to reach this case.
Adding a lock to accessors of `_data` should prevent this.

Reviewed By: shergin

Differential Revision: D17552136

fbshipit-source-id: 3384d36221d0ada8cda638ad8e79e1bf3862f93f
2019-09-24 12:41:05 -07:00
..
2019-08-09 10:11:15 -07:00
2019-08-09 10:11:15 -07:00
2019-09-13 07:47:57 -07:00
2019-08-09 10:11:15 -07:00
2019-08-23 08:06:44 -07:00
2019-08-09 10:11:15 -07:00
2019-08-09 10:11:15 -07:00
2019-08-09 10:11:15 -07:00
2019-09-20 13:37:25 -07:00
2019-08-09 10:11:15 -07:00
2019-08-26 23:56:59 -07:00
2019-09-20 13:37:25 -07:00
2019-08-09 10:11:15 -07:00
2019-08-09 10:11:15 -07:00
2019-08-09 10:11:15 -07:00
2019-08-09 10:11:15 -07:00
2019-08-09 10:11:15 -07:00
2019-07-23 03:23:11 -07:00
2019-08-26 23:56:59 -07:00