mirror of
https://github.com/2dust/v2rayN.git
synced 2025-10-14 04:19:12 +00:00
fix the situation that causing quic setting become null when TLS is not enable
This commit is contained in:
parent
4638e66c83
commit
d9975cbbd7
1 changed files with 3 additions and 1 deletions
|
@ -541,7 +541,9 @@ namespace v2rayN.Handler
|
||||||
quicsettings.header = new Header();
|
quicsettings.header = new Header();
|
||||||
quicsettings.header.type = config.headerType();
|
quicsettings.header.type = config.headerType();
|
||||||
streamSettings.quicSettings = quicsettings;
|
streamSettings.quicSettings = quicsettings;
|
||||||
|
if (config.streamSecurity() == Global.StreamSecurity){
|
||||||
streamSettings.tlsSettings.serverName = config.address();
|
streamSettings.tlsSettings.serverName = config.address();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
//tcp带http伪装
|
//tcp带http伪装
|
||||||
|
|
Loading…
Reference in a new issue