feat(adapter): 添加新的协议字段到代理配置
All checks were successful
Build docker and publish / build (20.15.1) (push) Successful in 7m6s
All checks were successful
Build docker and publish / build (20.15.1) (push) Successful in 7m6s
添加 UpMbps、DownMbps 等新字段以支持更多协议配置选项
This commit is contained in:
parent
01eab942fd
commit
071bb1940d
@ -131,6 +131,20 @@ func (adapter *Adapter) Proxies(servers []*node.Node) ([]Proxy, error) {
|
|||||||
ReduceRtt: protocol.ReduceRtt,
|
ReduceRtt: protocol.ReduceRtt,
|
||||||
UDPRelayMode: protocol.UDPRelayMode,
|
UDPRelayMode: protocol.UDPRelayMode,
|
||||||
CongestionController: protocol.CongestionController,
|
CongestionController: protocol.CongestionController,
|
||||||
|
UpMbps: protocol.UpMbps,
|
||||||
|
DownMbps: protocol.DownMbps,
|
||||||
|
PaddingScheme: protocol.PaddingScheme,
|
||||||
|
Multiplex: protocol.Multiplex,
|
||||||
|
XhttpMode: protocol.XhttpMode,
|
||||||
|
XhttpExtra: protocol.XhttpExtra,
|
||||||
|
Encryption: protocol.Encryption,
|
||||||
|
EncryptionMode: protocol.EncryptionMode,
|
||||||
|
EncryptionRtt: protocol.EncryptionRtt,
|
||||||
|
EncryptionTicket: protocol.EncryptionTicket,
|
||||||
|
EncryptionServerPadding: protocol.EncryptionServerPadding,
|
||||||
|
EncryptionPrivateKey: protocol.EncryptionPrivateKey,
|
||||||
|
EncryptionClientPadding: protocol.EncryptionClientPadding,
|
||||||
|
EncryptionPassword: protocol.EncryptionPassword,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user