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-09-13 11:33:07 -07:00
2019-08-09 10:11:15 -07:00
2019-09-24 10:00:59 -07:00
2019-08-09 10:11:15 -07:00
2019-09-13 07:47:57 -07:00
2019-09-23 10:14:51 -07:00
2019-09-11 05:09:36 -07:00
2019-09-20 13:37:25 -07:00
2019-07-22 11:13:51 -07:00
2018-09-11 15:33:07 -07:00
2019-09-24 10:00:59 -07:00
2019-09-12 03:55:41 -07:00
2019-09-18 03:16:42 -07:00
2019-08-09 10:11:15 -07:00
2019-08-23 08:06:44 -07:00
2019-07-24 23:27:09 -07:00
2019-09-20 10:52:56 -07:00
2019-08-09 10:11:15 -07:00
2019-09-23 15:25:30 -07:00
2019-09-19 13:44:25 -07:00
2019-08-23 08:45:11 -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-25 11:46:43 -07:00
2019-09-20 13:37:25 -07:00
2019-08-21 09:58:24 -07:00
2019-09-23 09:30:38 -07:00
2019-09-17 06:38:10 -07:00
2019-09-24 12:41:05 -07:00
2019-08-30 04:57:40 -07:00
2019-08-09 10:11:15 -07:00
2019-08-09 10:11:15 -07:00
2019-08-26 23:56:59 -07:00
2019-08-09 10:11:15 -07:00
2019-07-25 11:46:43 -07:00
2019-09-24 10:00:59 -07:00
2019-08-22 17:50:36 -07:00
2019-09-24 10:00: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-09-23 09:12:51 -07:00
2019-05-10 10:10:27 -07:00
2018-09-11 15:33:07 -07:00
2019-09-17 09:20:54 -07:00
2019-08-09 10:11:15 -07:00
2019-08-15 10:18:16 -07:00
2019-07-25 11:46:43 -07:00
2019-09-17 06:38:10 -07:00
2019-08-21 09:58:24 -07:00
2019-08-09 10:11:15 -07:00
2019-08-21 15:49:16 -07:00
2019-07-23 03:23:11 -07:00
2019-08-26 23:56:59 -07:00
2018-02-27 08:42:14 -08:00
2019-03-27 20:48:45 -07:00
2019-05-08 08:48:59 -07:00
2019-08-21 09:58:24 -07:00