MetaCubeX / mihomo

A simple Python Pydantic model for Honkai: Star Rail parsed data from the Mihomo API.

Home Page:https://wiki.metacubex.one

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] 默认开启sing-mux

agczsz opened this issue · comments

Verify steps

Description

添加prefer-sing-mux字段用于默认开启sing-mux,无法开启的实现自动关闭,减少配置的修改,因为目前没有一家订阅转换支持sing-mux

Possible Solution

把该项作为通用字段:smux:
enabled: true
protocol: smux
max-connections: 4
min-streams: 4
max-streams: 0
statistic: false
only-tcp: false
padding: true
brutal-opts:
enabled: true
up: 50
down: 100,
当sing-mux检测不通时正常连接

不会实现,sing-mux应当仅用于自建(机场等一般不会提供,会导致连接错误)

不会实现,sing-mux应当仅用于自建(机场等一般不会提供,会导致连接错误)

只是添加附加选项,默认为关闭不就可以了