mirror of
https://github.com/2dust/v2rayN.git
synced 2025-07-02 04:52:09 +00:00
fix QUIC host config
This commit is contained in:
parent
112273036b
commit
a498578c17
2 changed files with 10 additions and 3 deletions
|
@ -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 a new issue