Skip to content

Commit 311a929

Browse files
committed
feat: sing-box naive 出站支持 quic 和 quic-congestion-control
1 parent 5920359 commit 311a929

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sub-store",
3-
"version": "2.20.57",
3+
"version": "2.20.58",
44
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
55
"main": "src/main.js",
66
"scripts": {

backend/src/core/proxy-utils/producers/sing-box.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,9 @@ const naiveParser = (proxy = {}) => {
664664
parsedProxy.insecure_concurrency = insecure_concurrency;
665665
if (proxy['extra-headers'])
666666
parsedProxy.extra_headers = proxy['extra-headers'];
667+
if (proxy.quic) parsedProxy.quic = !!proxy.quic;
668+
if (proxy['quic-congestion-control'])
669+
parsedProxy.quic_congestion_control = proxy['quic-congestion-control'];
667670
if (proxy['fast-open']) parsedProxy.udp_fragment = true;
668671
tfoParser(proxy, parsedProxy);
669672
detourParser(proxy, parsedProxy);

0 commit comments

Comments
 (0)