Fix websocket headroom

This commit is contained in:
世界
2022-10-07 20:18:50 +08:00
parent 89ff9f8368
commit a01bb569d1
5 changed files with 19 additions and 10 deletions

View File

@@ -146,6 +146,8 @@ func newUTLSClient(router adapter.Router, serverAddress string, options option.O
id = utls.HelloAndroid_11_OkHttp
case "random":
id = utls.HelloRandomized
default:
return nil, E.New("unknown uTLS fingerprint: ", options.UTLS.Fingerprint)
}
return &utlsClientConfig{&tlsConfig, id}, nil
}