From 737e0326a5ba0c13fd29033c8877cf958e23e780 Mon Sep 17 00:00:00 2001 From: Ali Mihandoost Date: Sat, 19 Nov 2022 14:25:05 +0330 Subject: [PATCH] feat(v2fly): mux --- packages/lab/v2fly/config/client-vmess-socks.json | 4 ++++ packages/lab/v2fly/config/server-vmess-ws.json | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/lab/v2fly/config/client-vmess-socks.json b/packages/lab/v2fly/config/client-vmess-socks.json index d5833f26c..fa06c9e0b 100644 --- a/packages/lab/v2fly/config/client-vmess-socks.json +++ b/packages/lab/v2fly/config/client-vmess-socks.json @@ -19,6 +19,10 @@ "address": "0.0.0.0", "udpEnabled": true, "packetEncoding": "None" + }, + "mux": { + "enabled": true, + "concurrency": 8 } } ], diff --git a/packages/lab/v2fly/config/server-vmess-ws.json b/packages/lab/v2fly/config/server-vmess-ws.json index a6d7eba84..6d866b451 100644 --- a/packages/lab/v2fly/config/server-vmess-ws.json +++ b/packages/lab/v2fly/config/server-vmess-ws.json @@ -16,13 +16,17 @@ "port": 80, "tag": "in-vmess", "settings": { - "users": ["d06ffa2e-ef51-4def-ad9d-37803453d33e"] + "users": ["d06ffa2e-ef51-4def-ad9d-37803453d33e", "8f9f1692-8d0a-271d-e2d0-1f4c998ecc95"] }, "streamSettings": { "transport": "ws", "transportSettings":{}, "security":"none", "securitySettings":{} + }, + "mux": { + "enabled": true, + "concurrency": 8 } } ],