- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 103 for hostname1 (0.31 seconds)
-
cmd/endpoint.go
} } } return "" } // Hostnames - returns list of unique hostnames func (l EndpointServerPools) Hostnames() []string { foundSet := set.NewStringSet() for _, ep := range l { for _, endpoint := range ep.Endpoints { if foundSet.Contains(endpoint.Hostname()) { continue } foundSet.Add(endpoint.Hostname()) } } return foundSet.ToSlice() }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt
fun check( hostname: String, vararg peerCertificates: Certificate, ) { check(hostname, peerCertificates.toList()) } /** * Returns list of matching certificates' pins for the hostname. Returns an empty list if the * hostname does not have pinned certificates. */ fun findMatchingPins(hostname: String): List<Pin> = pins.filterList { matchesHostname(hostname) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 14.2K bytes - Click Count (1) -
src/main/java/jcifs/smb1/UniAddress.java
*/ public static UniAddress getByName(final String hostname) throws UnknownHostException { return getByName(hostname, false); } static boolean isDotQuadIP(final String hostname) { if (hostname != null && hostname.length() > 0 && Character.isDigit(hostname.charAt(0))) { int i, len, dots; char[] data; i = dots = 0; /* quick IP address validation */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17K bytes - Click Count (0) -
src/test/java/jcifs/netbios/UniAddressTest.java
assertTrue(UniAddress.isDotQuadIP(ip)); } @ParameterizedTest(name = "should return false for invalid IP address or hostname: {0}") @ValueSource(strings = { "192.168.1", "hostname", "1.2.3.4.5", "192.168.1.1a", "a.b.c.d" }) void shouldReturnFalseForInvalidIpAddressesOrHostnames(String input) { assertFalse(UniAddress.isDotQuadIP(input)); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.4K bytes - Click Count (0) -
docs/changelogs/changelog_4x.md
* Fix: Don't crash with an `InaccessibleObjectException` when running on JDK17+ with strong encapsulation enabled. * Fix: Strictly verify hostnames used with OkHttp's `HostnameVerifier`. Programs that make direct manual calls to `HostnameVerifier` could be defeated if the hostnames they pass in are not strictly ASCII. This issue is tracked as [CVE-2021-0341]. ## Version 4.9.1 _2021-01-30_
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
* "www.squareup.com". * * * **A set of hostnames.** These are in the certificate's subject alternative name (SAN) * extension. A subject alternative name is either a literal hostname (`squareup.com`), a literal * IP address (`74.122.190.80`), or a hostname pattern (`*.api.squareup.com`). *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 21.6K bytes - Click Count (0) -
src/test/java/jcifs/NameServiceClientTest.java
} @Test void testGetByName_String() throws UnknownHostException { // Arrange String hostname = "testHostname"; Address expectedAddress = mock(Address.class); when(nameServiceClient.getByName(hostname)).thenReturn(expectedAddress); // Act Address actualAddress = nameServiceClient.getByName(hostname);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.4K bytes - Click Count (0) -
docs/changelogs/changelog_2x.md
* New: Update HTTP/2 support to `h2-16` and `hpack-10`. * New: APIs to prevent retrying non-idempotent requests. * Fix: Drop NPN support. Going forward we support ALPN only. * Fix: The hostname verifier is now strict. This is consistent with the hostname verifier in modern browsers. * Fix: Improve `CONNECT` handling for misbehaving HTTP proxies. * Fix: Don't retry requests that failed due to timeouts.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
static final class CacheEntry { Name hostName; NbtAddress address; long expiration; CacheEntry(final Name hostName, final NbtAddress address, final long expiration) { this.hostName = hostName; this.address = address; this.expiration = expiration; } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.7K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
private static boolean isAllDigits(final String hostname) { for (int i = 0; i < hostname.length(); i++) { if (!Character.isDigit(hostname.charAt(i))) { return false; } } return true; } @Override public UniAddress getByName(final String hostname) throws UnknownHostException { return getByName(hostname, false); } @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 38.5K bytes - Click Count (0)