feat(xray): add hysteria v2 inbound and VLESS encryption support
This commit is contained in:
@@ -92,6 +92,7 @@ type NodeConfig struct {
|
||||
// VMess / VLESS
|
||||
TLS int `json:"tls,omitempty"`
|
||||
Flow string `json:"flow,omitempty"`
|
||||
Decryption string `json:"decryption,omitempty"`
|
||||
TLSSettings map[string]interface{} `json:"tls_settings,omitempty"`
|
||||
|
||||
// Trojan
|
||||
|
||||
@@ -192,7 +192,7 @@ func (w *WSClient) connect(ctx context.Context) error {
|
||||
q.Set("node_id", strconv.Itoa(w.nodeID))
|
||||
u.RawQuery = q.Encode()
|
||||
|
||||
nlog.Core().Debug("ws connecting", "url", u.Host)
|
||||
nlog.Core().Debug("ws connecting", "url", u.String())
|
||||
|
||||
dialer := websocket.Dialer{
|
||||
HandshakeTimeout: w.cfg.HandshakeTimeout,
|
||||
|
||||
Reference in New Issue
Block a user