mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-03 10:30:51 +08:00
fix: always set uTLS fingerprint for TLS connections in General protocol (#673)
This commit is contained in:
@@ -137,9 +137,9 @@ class General extends AbstractProtocol
|
||||
switch ($server['protocol_settings']['tls']) {
|
||||
case 1:
|
||||
$config['security'] = "tls";
|
||||
$config['fp'] = Helper::getRandFingerprint();
|
||||
if ($serverName = data_get($protocol_settings, 'tls_settings.server_name')) {
|
||||
$config['sni'] = $serverName;
|
||||
$config['fp'] = Helper::getRandFingerprint();
|
||||
}
|
||||
break;
|
||||
case 2: //reality
|
||||
|
||||
Reference in New Issue
Block a user