初步实现HTTP3

This commit is contained in:
GoEdgeLab
2023-06-01 17:44:39 +08:00
parent c3b616c13e
commit b9d67d4ce6
5 changed files with 47 additions and 7 deletions

View File

@@ -2,7 +2,8 @@ Vue.component("ssl-config-box", {
props: [
"v-ssl-policy",
"v-protocol",
"v-server-id"
"v-server-id",
"v-support-http3"
],
created: function () {
let that = this
@@ -26,6 +27,7 @@ Vue.component("ssl-config-box", {
cipherSuitesIsOn: false,
cipherSuites: [],
http2Enabled: true,
http3Enabled: false,
ocspIsOn: false
}
} else {
@@ -403,6 +405,15 @@ Vue.component("ssl-config-box", {
</div>
</td>
</tr>
<tr v-show="vProtocol == 'https' && vSupportHttp3">
<td class="title">启用HTTP/3</td>
<td>
<div class="ui checkbox">
<input type="checkbox" value="1" v-model="policy.http3Enabled"/>
<label></label>
</div>
</td>
</tr>
<tr>
<td class="title">选择证书</td>
<td>