fix QUIC host config

pull/460/head
YFdyh000 2020-02-20 02:30:18 +08:00
parent 112273036b
commit a498578c17
2 changed files with 10 additions and 3 deletions

View File

@ -446,8 +446,15 @@ namespace v2rayN.Handler
{
//远程服务器底层传输配置
streamSettings.network = config.network();
var host = config.requestHost();
string host;
if (streamSettings.network != "quic")
{
host = config.requestHost();
}
else
{
host = config.address();
}
//if tls
if (config.streamSecurity() == Global.StreamSecurity)
{

View File

@ -468,7 +468,7 @@ namespace v2rayN.Mode
get; set;
}
/// <summary>
/// tcp,kcp,ws
/// tcp,kcp,ws,h2,quic
/// </summary>
public string network
{