Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 85 for IPv6 (0.02 sec)

  1. 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
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. 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 URL
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. docs/smb3-features/03-multi-channel-design.md

            // SockaddrStorage (128 bytes)
            encodeSockaddr(buffer, 20);
            
            return buffer;
        }
        
        private void encodeSockaddr(byte[] buffer, int offset) {
            if (ipv6) {
                // IPv6 sockaddr_in6 structure
                writeInt2(buffer, offset, 23);  // AF_INET6
                writeInt2(buffer, offset + 2, 445);  // Port
                writeInt4(buffer, offset + 4, 0);  // Flow info
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dns.kt

     * [system DNS service][SYSTEM], which is the default. Some applications may provide their own
     * implementation to use a different DNS server, to prefer IPv6 addresses, to prefer IPv4 addresses,
     * or to force a specific known IP address.
     *
     * Implementations of this interface must be safe for concurrent use.
     */
    fun interface Dns {
      /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. 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: "",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. 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.localPort
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     */
    class DefaultExceptionHandlerTest {
        /**
         * Running Maven under JDK7 may cause connection issues because IPv6 is used by default.
         * <p>
         * e.g running mvn site:run will cause Jetty to fail.
         * </p>
         * <p>
         * The resolution is to add -Djava.net.preferIPv4Stack=true to the command line as documented in
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt

      @Test
      fun testToCanonicalHost() {
        // IPv4
        assertThat("127.0.0.1".toCanonicalHost()).isEqualTo("127.0.0.1")
        assertThat("1.2.3.4".toCanonicalHost()).isEqualTo("1.2.3.4")
    
        // IPv6
        assertThat("::1".toCanonicalHost()).isEqualTo("::1")
        assertThat("2001:db8::1".toCanonicalHost()).isEqualTo("2001:db8::1")
        assertThat("::ffff:192.168.0.1".toCanonicalHost()).isEqualTo("192.168.0.1")
        assertThat(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. CHANGELOG.md

    _2022-02-01_
    
    **This release introduces fast fallback to better support mixed IPv4+IPv6 networks.** Fast fallback
    is what we're calling our implementation of Happy Eyeballs, [RFC 8305][rfc_8305]. With this
    feature OkHttp will attempt both IPv6 and IPv4 connections concurrently, keeping whichever connects
    first. Fast fallback gives IPv6 connections a 250 ms head start so IPv6 is preferred on networks
    where it's available.
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 05 16:02:59 UTC 2025
    - 36.2K bytes
    - Viewed (2)
  10. 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
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Feb 26 19:25:49 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top