Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Major (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

        fun atLeastVersion(
          major: Int,
          minor: Int = 0,
          patch: Int = 0,
        ): Boolean {
          val conscryptVersion = Conscrypt.version() ?: return false
    
          if (conscryptVersion.major() != major) {
            return conscryptVersion.major() > major
          }
    
          if (conscryptVersion.minor() != minor) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/ConscryptTest.kt

        assertTrue(ConscryptPlatform.atLeastVersion(version.major()))
        assertTrue(ConscryptPlatform.atLeastVersion(version.major(), version.minor()))
        assertTrue(ConscryptPlatform.atLeastVersion(version.major(), version.minor(), version.patch()))
        assertFalse(ConscryptPlatform.atLeastVersion(version.major(), version.minor(), version.patch() + 1))
        assertFalse(ConscryptPlatform.atLeastVersion(version.major(), version.minor() + 1))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

        val names =
          acceptedIssuers
            .map { it.subjectDN.name }
            .toSet()
    
        // It's safe to assume all platforms will have a major Internet certificate issuer.
        assertThat(names).matchesPredicate { strings ->
          strings.any { it.matches(Regex("[A-Z]+=Entrust.*")) }
        }
      }
    
      private fun startTlsServer(): InetSocketAddress {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  4. settings.gradle.kts

     * 	...
     * ```
     */
    fun isKnownBrokenIntelliJ(): Boolean {
      val ideaVersionString = System.getProperty("idea.version") ?: return false
    
      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)
  5. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt

        ianaSuites = ianaSuites,
      )
    }
    
    fun conscrypt(ianaSuites: IanaSuites): Client {
      val version = Conscrypt.version()
      return systemDefault(
        name = "Conscrypt",
        version = "${version.major()}.${version.minor()}",
        ianaSuites = ianaSuites,
      )
    }
    
    fun systemDefault(
      name: String,
      version: String,
      ianaSuites: IanaSuites,
    ): Client {
    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)
  6. CHANGELOG.md

        `NullPointerException: bio == null`.
     *  Fix: Use plus `+` instead of `%20` to encode space characters in `FormBody`. This was a
        longstanding bug in OkHttp. The fix makes OkHttp consistent with major web browsers.
     *  Fix: Don't crash if Conscrypt returns a null version.
     *  Fix: Include the public suffix data as a resource in GraalVM native images.
     *  Fix: Fail fast when the cache is corrupted.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * forgiving: it will automatically percent-encode the `|'` yielding `http://example.com/abc%7Cdef`.
     * This kind behavior is consistent with web browsers. `HttpUrl` prefers consistency with major web
     * browsers over consistency with obsolete specifications.
     *
     * ### Paths and Queries should decompose
     *
     * Neither of the built-in URL models offer direct access to path segments or query parameters.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  8. okhttp/src/main/kotlin/okhttp3/Protocol.kt

       * on HTTP/2.
       *
       * QUIC is not natively supported by OkHttp, but provided to allow a theoretical interceptor that
       * provides support.
       */
      QUIC("quic"),
    
      /**
       * HTTP/3 is the third and upcoming major version of the Hypertext Transfer Protocol used to
       * exchange information. HTTP/3 runs over QUIC, which is published as RFC 9000.
       *
       * HTTP/3 is not natively supported by OkHttp, but provided to allow a theoretical interceptor
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:33 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top