Add downloadSettings for H2 (#204)

This commit is contained in:
xqzr 2024-12-26 12:05:46 +08:00 committed by GitHub
parent 44d9e49acb
commit 6405ff9c78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,13 +30,27 @@
"network": "xhttp",
"xhttpSettings": {
"path": "", // path
"mode": "stream-one",
"mode": "stream-one", //使 downloadSettings stream-one stream-up
"xmux": {
"maxConcurrency": 128, //Nginx 128https://nginx.org/en/docs/http/ngx_http_v3_module.html#http3_max_concurrent_streams
"hMaxRequestTimes": 1000, //Nginx 1000https://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_requests
"cMaxLifetimeMs": 3600000 //Nginx 3600000ms(1h)https://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_time
},
"#downloadSettings": { // H2 #使 downloadSettings mode stream-up
"address": "example.com",
"port": 443,
"network": "xhttp",
"xhttpSettings": {
"path": "", // path
"xmux": {
"maxConcurrency": 128, //Nginx 128https://nginx.org/en/docs/http/ngx_http_v3_module.html#http3_max_concurrent_streams
"hMaxRequestTimes": 1000, //Nginx 1000https://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_requests
"cMaxLifetimeMs": 3600000 //Nginx 3600000ms(1h)https://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_time
}
},
"security": "tls"
}
},
"security": "tls",
"tlsSettings": {
"alpn": [