mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
2000acc6c6
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39809 It's currently possible for RN to crash the dev server by sending down an exceptionally large CDP response/event. Instead of making assumptions on the protocol spoken over the proxy, let's assume clients on either side of the proxy can be trusted to be well behaved (and to degrade gracefully when a large message is encountered). Changelog: [General][Fixed] JS debugging: prevent dev server crash when a large CDP payload is returned from the device Reviewed By: huntie Differential Revision: D49642047 fbshipit-source-id: 07b134c9fa6aba7ce2208f71981d6d862281395f