mirror of
https://github.com/2dust/v2rayN.git
synced 2025-10-13 20:09: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.type = config.headerType();
|
||||
streamSettings.quicSettings = quicsettings;
|
||||
streamSettings.tlsSettings.serverName = config.address();
|
||||
if (config.streamSecurity() == Global.StreamSecurity){
|
||||
streamSettings.tlsSettings.serverName = config.address();
|
||||
}
|
||||
break;
|
||||
default:
|
||||
//tcp带http伪装
|
||||
|
|
Loading…
Reference in a new issue