- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 110 for ipv4 (0.03 seconds)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/Hc5IdnDnsResolver.java
*/ @Override public InetAddress[] resolve(final String host) throws UnknownHostException { // Handle IPv6 addresses in bracket notation if (host != null && host.length() > 2 && host.startsWith("[") && host.endsWith("]")) { // Remove brackets for IPv6 address resolution final String ipv6Address = host.substring(1, host.length() - 1);Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jan 04 13:09:59 GMT 2026 - 4.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/HostAndPortTest.java
.testEquals(); } public void testRequireBracketsForIPv6() { // Bracketed IPv6 works fine. assertThat(HostAndPort.fromString("[::1]").requireBracketsForIPv6().getHost()).isEqualTo("::1"); assertThat(HostAndPort.fromString("[::1]:80").requireBracketsForIPv6().getHost()) .isEqualTo("::1"); // Non-bracketed non-IPv6 works fine.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 10K bytes - Click Count (0) -
internal/handlers/proxy_test.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 26 19:25:49 GMT 2025 - 3.9K bytes - Click Count (0) -
cmd/server-startup-msg.go
printCLIAccessMsg(strippedAPIEndpoints[0], "myminio") // Prints documentation message. printObjectAPIMsg() if globalIsDistErasure { logger.Startup(color.Bold(banner)) } } // Returns true if input is IPv6 func isIPv6(host string) bool { h, _, err := net.SplitHostPort(host) if err != nil { h = host } ip := net.ParseIP(h) return ip.To16() != nil && ip.To4() == nil }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 6.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
@ParameterizedTest @DisplayName("Should handle IPv6 addresses correctly") @CsvSource({ "'ncacn_np:[::1][endpoint=\\pipe\\srvsvc]', ncacn_np, '[::1]', '\\pipe\\srvsvc'" }) void testParseIPv6BindingUrls(String url, String expectedProto, String expectedServer, String expectedEndpoint) throws DcerpcException { // When: Parsing IPv6 binding URLCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.3K bytes - Click Count (0) -
cmd/endpoint-ellipses_test.go
Suffix: "/disk", Seq: getSequences(1, 10, 0), }, }, }, nil, [][]uint64{{10, 10, 10, 10, 10, 10, 10, 10, 10, 10}}, }, true, }, // IPv6 ellipses with hexadecimal expansion { "http://[2001:3984:3989::{1...a}]/disk{1...10}", endpointSet{ []ellipses.ArgPattern{ []ellipses.Pattern{ { Prefix: "", Suffix: "",
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.1K bytes - Click Count (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt
val inetAddress = socket.localAddress var hostname = inetAddress.hostName if (inetAddress is Inet6Address && hostname.contains(':')) { // hostname is likely some form representing the IPv6 bytes // 2001:0db8:85a3:0000:0000:8a2e:0370:7334 // 2001:db8:85a3::8a2e:370:7334 // ::1 hostname = "[$hostname]" } val localPort = socket.localPortCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.1K bytes - Click Count (0) -
internal/handlers/proxy.go
// addresses (for=8.8.8.8, 8.8.4.4, 172.16.1.20 is valid) we only // extract the first, which should be the client IP. if match := forRegex.FindStringSubmatch(fwd); len(match) > 1 { // IPv6 addresses in Forwarded headers are quoted-strings. We strip // these quotes. addr = strings.Trim(match[1], `"`) } } } return addr }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 26 19:25:49 GMT 2025 - 5.4K bytes - Click Count (0) -
internal/handlers/forwarder.go
*outReq = *quietReq } } // headerRewriter is responsible for removing hop-by-hop headers and setting forwarding headers type headerRewriter struct{} // Clean up IP in case if it is ipv6 address and it has {zone} information in it, like // "[fe80::d806:a55d:eb1b:49cc%vEthernet (vmxnet3 Ethernet Adapter - Virtual Switch)]:64692" func ipv6fix(clientIP string) string { return strings.Split(clientIP, "%")[0] }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 5.7K bytes - Click Count (0) -
internal/rest/client.go
type restError string func (e restError) Error() string { return string(e) } func (e restError) Timeout() bool { return true } // Given a string of the form "host", "host:port", or "[ipv6::address]:port", // return true if the string includes a port. func hasPort(s string) bool { return strings.LastIndex(s, ":") > strings.LastIndex(s, "]") } // removeEmptyPort strips the empty port in ":port" to ""
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0)