mirror of
https://github.com/2dust/v2rayN.git
synced 2025-04-19 21:52:25 +00:00
Update V2rayConfigHandler.cs
This commit is contained in:
parent
4e38ec8f57
commit
17dec098cd
1 changed files with 4 additions and 1 deletions
|
@ -540,8 +540,11 @@ namespace v2rayN.Handler
|
||||||
quicsettings.key = config.path();
|
quicsettings.key = config.path();
|
||||||
quicsettings.header = new Header();
|
quicsettings.header = new Header();
|
||||||
quicsettings.header.type = config.headerType();
|
quicsettings.header.type = config.headerType();
|
||||||
streamSettings.tlsSettings.serverName = config.address();
|
|
||||||
streamSettings.quicSettings = quicsettings;
|
streamSettings.quicSettings = quicsettings;
|
||||||
|
if (config.streamSecurity() == Global.StreamSecurity)
|
||||||
|
{
|
||||||
|
streamSettings.tlsSettings.serverName = config.address();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
//tcp带http伪装
|
//tcp带http伪装
|
||||||
|
|
Loading…
Reference in a new issue