Cubarco
Cubarco
如果配置中只设置了`"tcpKeepAliveInterval": -1`,而没有设置`"tcpKeepAliveIdle": -1`,xray不会设置goStdKeepAlive,导致后面dial或者accept的时候,keepalive配置被golang官方默认的覆盖。
The Keep-Alive configs may be overridden with golang default settings when `tcpKeepAliveInterval` is set without `tcpKeepAliveIdle`. Adopt: https://github.com/XTLS/Xray-core/pull/1328
**复现的步骤是:** 在Telegram中找到一个链接,点击打开,然后返回,再次点击打开,如此反复。 **现象:** 在Telegram中打开链接时(Edge内置浏览器),反复点击同一个链接,本地172.19.0.2:53的DNS Query返回总是3秒钟。 尝试开关FakeDNS、开关DNS路由,没有变化。 后面尝试写了个DNS查询golang程序,在termux向172.19.0.2:53请求DNS,返回是即时的。 **Telegram打开链接时的DNS请求抓包:**  **golang在termux直接请求dns抓包:**  抓了一下日志,发现没有dns相关的信息,所以这里略去了。