remove rsocket fallback for mobile clients

Summary:
^
Note: this is already a working case. The difference is that if we are unable to establish a socket connection, we will not attempt to create one using rsocket.

Changelog: Removes rsocket-fallback for mobile clients

Reviewed By: nikoant

Differential Revision: D33655430

fbshipit-source-id: cb6f752f2d1354ab46d011b1f19c89520e1e7dd3
This commit is contained in:
Lorenzo Blasa
2022-02-15 04:55:21 -08:00
committed by Facebook GitHub Bot
parent e602cc0305
commit c2f3607d03
6 changed files with 12 additions and 41 deletions

View File

@@ -154,11 +154,11 @@ using WrapperPlugin = facebook::flipper::FlipperCppWrapperPlugin;
- (void)start {
#if !TARGET_OS_OSX && !TARGET_OS_SIMULATOR
_secureServer = [FKPortForwardingServer new];
[_secureServer forwardConnectionsFromPort:8088];
[_secureServer listenForMultiplexingChannelOnPort:8078];
[_secureServer forwardConnectionsFromPort:9088];
[_secureServer listenForMultiplexingChannelOnPort:9078];
_insecureServer = [FKPortForwardingServer new];
[_insecureServer forwardConnectionsFromPort:8089];
[_insecureServer listenForMultiplexingChannelOnPort:8079];
[_insecureServer forwardConnectionsFromPort:9089];
[_insecureServer listenForMultiplexingChannelOnPort:9079];
#endif
_cppClient->start();
}

View File

@@ -9,8 +9,8 @@
#import "SKEnvironmentVariables.h"
static int const DEFAULT_INSECURE_PORT = 8089;
static int const DEFAULT_SECURE_PORT = 8088;
static int const DEFAULT_INSECURE_PORT = 9089;
static int const DEFAULT_SECURE_PORT = 9088;
static int const DEFAULT_ALT_INSECURE_PORT = 9089;
static int const DEFAULT_ALT_SECURE_PORT = 9088;