Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for compatible (0.4 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt

        return result
      }
      synchronized(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS) {
        for (i in 0 until BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS.size) {
          var format: DateFormat? = BROWSER_COMPATIBLE_DATE_FORMATS[i]
          if (format == null) {
            format =
              SimpleDateFormat(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS[i], Locale.US).apply {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/connection/RetryConnectionTest.kt

            .tlsVersions(TlsVersion.SSL_3_0)
            .build()
        val routePlanner = factory.newRoutePlanner(client)
        val route = factory.newRoute()
        val connectionSpecs = listOf(ConnectionSpec.MODERN_TLS, ConnectionSpec.COMPATIBLE_TLS, sslV3)
        val enabledSocketTlsVersions =
          arrayOf(
            TlsVersion.TLS_1_2,
            TlsVersion.TLS_1_1,
            TlsVersion.TLS_1_0,
          )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt

        userAgent = "OkHttp",
        version = OkHttp.VERSION,
        enabled =
          ConnectionSpec.MODERN_TLS.cipherSuites!!.map {
            ianaSuites.fromJavaName(it.javaName)
          },
        supported =
          ConnectionSpec.COMPATIBLE_TLS.cipherSuites!!.map {
            ianaSuites.fromJavaName(it.javaName)
          },
      )
    }
    
    fun historicOkHttp(version: String): Client {
      val enabled =
        FileSystem.RESOURCES.read("okhttp_$version.txt".toPath()) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

            CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA.javaName,
          )
        assertThat(tlsSpec.isCompatible(socket)).isTrue()
        socket.enabledCipherSuites =
          arrayOf(
            CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA.javaName,
          )
        assertThat(tlsSpec.isCompatible(socket)).isFalse()
      }
    
      @Test
      fun allEnabledCipherSuites() {
        platform.assumeNotConscrypt()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CallHandshakeTest.kt

        platform.assumeNotConscrypt()
        platform.assumeNotBouncyCastle()
    
        val reversed = ConnectionSpec.COMPATIBLE_TLS.cipherSuites!!.reversed()
        val client =
          makeClient(
            ConnectionSpec.COMPATIBLE_TLS,
            TlsVersion.TLS_1_2,
            reversed,
          )
    
        makeRequest(client)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  6. docs/security/tls_configuration_history.md

    ------------------------
    
    _2019-02-04_
    
    Remove TLSv1.1 and TLSv1 from MODERN_TLS. Change COMPATIBLE_TLS to support all TLS versions.
    
    ##### RESTRICTED_TLS versions
    
    * TLSv1.3
    * TLSv1.2
    
    ##### MODERN_TLS versions
    
    * TLSv1.3
    * TLSv1.2
    * **REMOVED:** ~~TLSv1.1~~
    * **REMOVED:** ~~TLSv1~~
    
    ##### COMPATIBLE_TLS versions
    
    * **NEW:** TLSv1.3
    * **NEW:** TLSv1.2
    * **NEW:** TLSv1.1
    * TLSv1
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 9K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

      var proxyAuthenticator: Authenticator = RecordingOkAuthenticator("password", null)
      var connectionSpecs: List<ConnectionSpec> =
        listOf(
          ConnectionSpec.MODERN_TLS,
          ConnectionSpec.COMPATIBLE_TLS,
          ConnectionSpec.CLEARTEXT,
        )
      var protocols: List<Protocol> =
        listOf(
          Protocol.HTTP_1_1,
        )
      var handshakeCertificates: HandshakeCertificates = localhost()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_2x.md

    _2014-12-30_
    
     *  **`RequestBody.contentLength()` now throws `IOException`.**
        This is a source-incompatible change. If you have code that calls
        `RequestBody.contentLength()`, your compile will break with this
        update. The change is binary-compatible, however: code compiled
        for OkHttp 2.0 and 2.1 will continue to work with this update.
    
     *  **`COMPATIBLE_TLS` no longer supports SSLv3.** In response to the
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
  9. settings.gradle.kts

      return try {
        val (major, minor, _) = ideaVersionString.split(".", limit = 3)
        KotlinVersion(major.toInt(), minor.toInt()) < KotlinVersion(2023, 2)
      } catch (e: Exception) {
        false // Unknown version, presumably compatible.
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Apr 14 14:24:05 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  10. docs/features/https.md

    By default, OkHttp will attempt a `MODERN_TLS` connection.  However by configuring the client connectionSpecs you can allow a fall back to `COMPATIBLE_TLS` connection if the modern configuration fails.
    
    ```java
    OkHttpClient client = new OkHttpClient.Builder()
        .connectionSpecs(Arrays.asList(ConnectionSpec.MODERN_TLS, ConnectionSpec.COMPATIBLE_TLS))
        .build();
    ```
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 24 00:16:30 GMT 2022
    - 10.5K bytes
    - Viewed (0)
Back to top