Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/assets/js')
-rw-r--r--web/assets/js/model/inbound.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/assets/js/model/inbound.js b/web/assets/js/model/inbound.js
index 1cef368b..1dd4411f 100644
--- a/web/assets/js/model/inbound.js
+++ b/web/assets/js/model/inbound.js
@@ -1396,6 +1396,8 @@ class Inbound extends XrayCommonClass {
if (protocol === Protocols.HYSTERIA) {
this.stream.network = 'hysteria';
this.stream.security = 'tls';
+ // Hysteria runs over QUIC and must not inherit TCP TLS ALPN defaults.
+ this.stream.tls.alpn = [ALPN_OPTION.H3];
}
}
@@ -2863,4 +2865,4 @@ Inbound.TunSettings = class extends Inbound.Settings {
autoOutboundsInterface: this.autoOutboundsInterface,
};
}
-}; \ No newline at end of file
+};