- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for containsInvalidLabelLengths (0.1 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt
/** * Returns true if the length is not valid for DNS (empty or greater than 253 characters), or if any * label is longer than 63 characters. Trailing dots are okay. */ internal fun String.containsInvalidLabelLengths(): Boolean { if (length !in 1..253) return true var labelStart = 0 while (true) { val dot = indexOf('.', startIndex = labelStart) val labelLength = when (dot) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.2K bytes - Viewed (0)