我一直在研究 chrome 源代码,并且正在对性能测试进行一些更改。
我有兴趣将新的 DNS 条目添加到 chrome 缓存中,以便它显示在chrome://net-internals/#dns
我很难在源代码中找到正确的流程。
请问有经验的可以帮忙吗?
我在This is where the dns reolution 中找到了 dns 解析器代码/net/base/dnsrr_resolver.cc
,但是,我有兴趣在不进行解析调用的情况下手动插入 dns 条目。
我一直在研究 chrome 源代码,并且正在对性能测试进行一些更改。
我有兴趣将新的 DNS 条目添加到 chrome 缓存中,以便它显示在chrome://net-internals/#dns
我很难在源代码中找到正确的流程。
请问有经验的可以帮忙吗?
我在This is where the dns reolution 中找到了 dns 解析器代码/net/base/dnsrr_resolver.cc
,但是,我有兴趣在不进行解析调用的情况下手动插入 dns 条目。