fix alpn
This commit is contained in:
@@ -143,9 +143,9 @@ export default {
|
|||||||
usePath: 0,
|
usePath: 0,
|
||||||
defaults: defaultInTls,
|
defaults: defaultInTls,
|
||||||
alpn: [
|
alpn: [
|
||||||
{ title: "H3", value: 'HTTP/3' },
|
{ title: "H3", value: 'h3' },
|
||||||
{ title: "H2", value: 'HTTP/2' },
|
{ title: "H2", value: 'h2' },
|
||||||
{ title: "Http1.1", value: 'HTTP/1.1' },
|
{ title: "Http/1.1", value: 'http/1.1' },
|
||||||
],
|
],
|
||||||
tlsVersions: [ '1.0', '1.1', '1.2', '1.3' ],
|
tlsVersions: [ '1.0', '1.1', '1.2', '1.3' ],
|
||||||
cipher_suites: [
|
cipher_suites: [
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ export interface iTls {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const defaultInTls: iTls = {
|
export const defaultInTls: iTls = {
|
||||||
alpn: ['HTTP/3', 'HTTP/2', 'HTTP/1.1'],
|
alpn: ['h3', 'h2', 'http/1.1'],
|
||||||
min_version: "1.2",
|
min_version: "1.2",
|
||||||
max_version: "1.3",
|
max_version: "1.3",
|
||||||
cipher_suites: [""],
|
cipher_suites: [""],
|
||||||
|
|||||||
Reference in New Issue
Block a user