DHR60

Results 7 comments of DHR60

In this PR, my primary focus is to introduce the `QS_FIELD_DEFAULT` macro and improve code structure optimization while reducing warnings, as these are key enhancements for the QSerializer library. Other...

> > 截图中没有看到你填写。 > > 你填写后点击到处完整配置文件,然后看配置文件是否有你填写的值? > > 配置文件有填写的值(填写的是节点服务器域名-ip对),但似乎解析节点服务器的时候不会匹配填写的hosts列表 应该会使用填写的 hosts 列表,我专门写了这部分逻辑的代码 https://github.com/2dust/v2rayNG/blob/72194252583b863aa17d4079704c9fb779167b2e/V2rayNG/app/src/main/java/com/v2ray/ang/handler/V2rayConfigManager.kt#L831

实测也确实使用了 ![Image](https://github.com/user-attachments/assets/e95ac0e3-ad11-4fd9-afc2-b9464f678f15)

> > 实测也确实使用了 > > ![Image](https://github.com/user-attachments/assets/e95ac0e3-ad11-4fd9-afc2-b9464f678f15) > > 我这里填写的hosts是节点服务器的域名-ip,连接不上节点服务器 填写 域名:ip

确实有问题,没生成 sockopt.domainStrategy

哦哦,`if (newHosts.containsKey(domain)) continue` 在 `item.ensureSockopt().domainStrategy = if (preferIpv6) "UseIPv6v4" else "UseIPv4v6"` 前面