- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for validDNSName (0.21 sec)
-
src/crypto/tls/ech.go
if err != nil { return err } return nil } // validDNSName is a rather rudimentary check for the validity of a DNS name. // This is used to check if the public_name in a ECHConfig is valid when we are // picking a config. This can be somewhat lax because even if we pick a // valid-looking name, the DNS layer will later reject it anyway. func validDNSName(name string) bool { if len(name) > 253 { return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 7.4K bytes - Viewed (0)