mirror of https://github.com/2dust/v2rayN
fix QUIC host config
parent
112273036b
commit
a498578c17
|
@ -446,8 +446,15 @@ namespace v2rayN.Handler
|
||||||
{
|
{
|
||||||
//远程服务器底层传输配置
|
//远程服务器底层传输配置
|
||||||
streamSettings.network = config.network();
|
streamSettings.network = config.network();
|
||||||
var host = config.requestHost();
|
string host;
|
||||||
|
if (streamSettings.network != "quic")
|
||||||
|
{
|
||||||
|
host = config.requestHost();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
host = config.address();
|
||||||
|
}
|
||||||
//if tls
|
//if tls
|
||||||
if (config.streamSecurity() == Global.StreamSecurity)
|
if (config.streamSecurity() == Global.StreamSecurity)
|
||||||
{
|
{
|
||||||
|
|
|
@ -468,7 +468,7 @@ namespace v2rayN.Mode
|
||||||
get; set;
|
get; set;
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// tcp,kcp,ws
|
/// tcp,kcp,ws,h2,quic
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string network
|
public string network
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue