Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 143 for fallback (0.24 sec)

  1. okhttp/src/test/java/okhttp3/internal/DoubleInetAddressDns.kt

     */
    package okhttp3.internal
    
    import java.net.InetAddress
    import okhttp3.Dns
    
    /**
     * A network that always resolves two IP addresses per host. Use this when testing route selection
     * fallbacks to guarantee that a fallback address is available.
     */
    class DoubleInetAddressDns : Dns {
      override fun lookup(hostname: String): List<InetAddress> {
        val addresses = Dns.SYSTEM.lookup(hostname)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Dec 23 10:26:25 GMT 2023
    - 1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/FallbackTestClientSocketFactory.kt

    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    import okhttp3.FallbackTestClientSocketFactory.Companion.TLS_FALLBACK_SCSV
    
    /**
     * An SSLSocketFactory that delegates calls. Sockets created by the delegate are wrapped with ones
     * that will not accept the [TLS_FALLBACK_SCSV] cipher, thus bypassing server-side fallback
     * checks on platforms that support it. Unfortunately this wrapping will disable any
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

        // cipher is added to signal that a protocol fallback has taken place.
        val supportedCipherSuites = sslSocket.supportedCipherSuites
        val indexOfFallbackScsv =
          supportedCipherSuites.indexOf(
            "TLS_FALLBACK_SCSV",
            CipherSuite.ORDER_BY_NAME,
          )
        if (isFallback && indexOfFallbackScsv != -1) {
          cipherSuitesIntersection =
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  4. native-image-tests/build.gradle.kts

        )
      }
    }
    
    graal {
      mainClass("okhttp3.RunTestsKt")
      outputName("ConsoleLauncher")
      graalVersion(libs.versions.graalvm.get())
      javaVersion("11")
    
      option("--no-fallback")
      option("--report-unsupported-elements-at-runtime")
      option("-H:+ReportExceptionStackTraces")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 06 05:31:00 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/DeclarationsInPackageProvider.kt

     * [declaration provider][org.jetbrains.kotlin.analysis.providers.KotlinDeclarationProvider].
     *
     * Since this fallback is not suitable for symbols from binary libraries in Standalone mode, the symbol names provider absolutely needs to
     * work there. This functionality is covered by package scope tests.
     */
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 23 10:55:55 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  6. docs/features/connections.md

    ### [Fast Fallback](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-ok-http-client/-builder/fast-fallback/)
    
    Since version 5.0, `OkHttpClient` supports fast fallback, which is our implementation of Happy Eyeballs [RFC 6555](https://datatracker.ietf.org/doc/html/rfc6555).
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Feb 21 03:33:59 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CipherSuiteTest.kt

        socket.supportedCipherSuites = arrayOf("SSL_A", "SSL_FALLBACK_SCSV")
        socket.enabledCipherSuites = arrayOf("SSL_A")
        val connectionSpec =
          ConnectionSpec.Builder(true)
            .tlsVersions(TlsVersion.TLS_1_0)
            .cipherSuites("SSL_A")
            .build()
        applyConnectionSpec(connectionSpec, socket, true)
        assertArrayEquals(
          arrayOf("SSL_A", "SSL_FALLBACK_SCSV"),
          socket.enabledCipherSuites,
        )
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

        expectedCipherSuites.add(CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA.javaName)
        if (listOf<String>(*socket.supportedCipherSuites).contains("TLS_FALLBACK_SCSV")) {
          expectedCipherSuites.add("TLS_FALLBACK_SCSV")
        }
        assertThat(socket.enabledCipherSuites)
          .containsExactly(*expectedCipherSuites.toTypedArray())
      }
    
      @Test
      fun tls_explicitCiphers() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  9. Jenkinsfile

                                    } catch (Throwable e) {
                                      echo "Failure checkout ITs branch: ${ITS_BRANCH} - fallback master branch"
                                      checkout([$class: 'GitSCM',
                                              branches: [[name: "*/master"]],
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 03 21:28:30 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  10. CHANGELOG.md

    ## Version 5.0.0-alpha.4
    
    _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
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
Back to top