|
@@ -570,7 +570,7 @@ class TlsStreamSettings extends XrayCommonClass {
|
|
disableSystemRoot = false,
|
|
disableSystemRoot = false,
|
|
enableSessionResumption = false,
|
|
enableSessionResumption = false,
|
|
certificates=[new TlsStreamSettings.Cert()],
|
|
certificates=[new TlsStreamSettings.Cert()],
|
|
- alpn=[ALPN_OPTION.H2,ALPN_OPTION.HTTP1],
|
|
|
|
|
|
+ alpn=[ALPN_OPTION.H3,ALPN_OPTION.H2,ALPN_OPTION.HTTP1],
|
|
settings=new TlsStreamSettings.Settings()) {
|
|
settings=new TlsStreamSettings.Settings()) {
|
|
super();
|
|
super();
|
|
this.sni = serverName;
|
|
this.sni = serverName;
|
|
@@ -712,7 +712,7 @@ TlsStreamSettings.Settings = class extends XrayCommonClass {
|
|
class XtlsStreamSettings extends XrayCommonClass {
|
|
class XtlsStreamSettings extends XrayCommonClass {
|
|
constructor(serverName='',
|
|
constructor(serverName='',
|
|
certificates=[new XtlsStreamSettings.Cert()],
|
|
certificates=[new XtlsStreamSettings.Cert()],
|
|
- alpn=[ALPN_OPTION.H2,ALPN_OPTION.HTTP1],
|
|
|
|
|
|
+ alpn=[ALPN_OPTION.H3,ALPN_OPTION.H2,ALPN_OPTION.HTTP1],
|
|
settings=new XtlsStreamSettings.Settings()) {
|
|
settings=new XtlsStreamSettings.Settings()) {
|
|
super();
|
|
super();
|
|
this.sni = serverName;
|
|
this.sni = serverName;
|
|
@@ -892,7 +892,7 @@ class RealityStreamSettings extends XrayCommonClass {
|
|
}
|
|
}
|
|
|
|
|
|
RealityStreamSettings.Settings = class extends XrayCommonClass {
|
|
RealityStreamSettings.Settings = class extends XrayCommonClass {
|
|
- constructor(publicKey = '', fingerprint = UTLS_FINGERPRINT.UTLS_FIREFOX, serverName = '', spiderX= '/') {
|
|
|
|
|
|
+ constructor(publicKey = '', fingerprint = UTLS_FINGERPRINT.UTLS_RANDOM, serverName = '', spiderX= '/') {
|
|
super();
|
|
super();
|
|
this.publicKey = publicKey;
|
|
this.publicKey = publicKey;
|
|
this.fingerprint = fingerprint;
|
|
this.fingerprint = fingerprint;
|