chore: don't process msg.Extra in msgToHTTPSRRInfo

This commit is contained in:
wwqgtxx
2025-12-12 19:42:29 +08:00
parent 7e8c2876fb
commit e7a04e0762

View File

@@ -265,7 +265,11 @@ func msgToHTTPSRRInfo(msg *D.Msg) string {
}
collect(msg.Answer)
collect(msg.Extra)
//TODO: Do we need to process the data in msg.Extra?
// If so, do we need to validate whether the domain names within it match our request?
// To simplify the problem, let's ignore it for now.
//collect(msg.Extra)
if len(alpns) == 0 && publicName == "" && !hasIPv4 && !hasIPv6 {
return ""