Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 48 for things (0.2 sec)

  1. docs/changelogs/changelog_4x.md

        strictly ASCII. This issue is tracked as [CVE-2021-0341].
    
    
    ## Version 4.9.1
    
    _2021-01-30_
    
     *  Fix: Work around a crash in Android 10 and 11 that may be triggered when two threads
        concurrently close an SSL socket. This would have appeared in crash logs as
        `NullPointerException: bio == null`.
    
    
    ## Version 4.9.0
    
    _2020-09-11_
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

          .build()
        assertThat(original.interceptors.size).isEqualTo(0)
        assertThat(original.networkInterceptors.size).isEqualTo(0)
      }
    
      /**
       * When copying the client, stateful things like the connection pool are shared across all
       * clients.
       */
      @Test fun cloneSharesStatefulInstances() {
        val client = clientTestRule.newClient()
    
        // Values should be non-null.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  3. CHANGELOG.md

     *  Upgrade: [UnicodeĀ® IDNA 15.1.0][idna_15_1_0]
    
    
    ## Version 5.0.0-alpha.12
    
    _2023-12-17_
    
    We took too long to cut this release and there's a lot of changes in it. We've been busy.
    
    Although this release is labeled _alpha_, the only unstable thing in it is our new APIs. This
    release has many critical bug fixes and is safe to run in production. We're eager to stabilize our
    new APIs so we can get out of alpha.
    
    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)
  4. docs/changelogs/changelog_3x.md

        pings, but it did not track whether the reply pongs were received. With this
        update OkHttp requires that every ping receive a response: if it does not
        the connection will be closed and the listener's `onFailure()` method will
        be called.
    
        Web sockets have always been had pings, but pings on HTTP/2 connections is
        new in this release. Pings are used for connections that are busy carrying
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

              }
            }
          } else {
            // This is a relative link. Copy over all authority components. Also maybe the path & query.
            this.encodedUsername = base.encodedUsername
            this.encodedPassword = base.encodedPassword
            this.host = base.host
            this.port = base.port
            this.encodedPathSegments.clear()
            this.encodedPathSegments.addAll(base.encodedPathSegments)
    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)
  6. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

          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 {
        val serverSocketFactory = ServerSocketFactory.getDefault()
    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)
  7. samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java

          +  "KOqkqm57TH2H3eDJAkSnh6/DNFu0Qg==\n"
          +  "-----END CERTIFICATE-----");
    
      private final OkHttpClient client;
    
      public CustomTrust() {
        // This implementation just embeds the PEM files in Java strings; most applications will
        // instead read this from a resource file that gets bundled with the application.
    
        HandshakeCertificates certificates = new HandshakeCertificates.Builder()
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 9.3K bytes
    - Viewed (2)
  8. okhttp/src/main/kotlin/okhttp3/Headers.kt

    /**
     * The header fields of a single HTTP message. Values are uninterpreted strings; use `Request` and
     * `Response` for interpreted headers. This class maintains the order of the header fields within
     * the HTTP message.
     *
     * This class tracks header values line-by-line. A field with multiple comma- separated values on
     * the same line will be treated as a field with a single value by this class. It is the caller's
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

            statusLine.code == HTTP_CONTINUE -> {
              state = STATE_READ_RESPONSE_HEADERS
              responseBuilder
            }
            statusLine.code in (102 until 200) -> {
              // Processing and Early Hints will mean a second headers are coming.
              // Treat others the same for now
              state = STATE_READ_RESPONSE_HEADERS
              responseBuilder
            }
            else -> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CallTest.kt

          maxSize = Int.MAX_VALUE.toLong(),
        )
    
      @BeforeEach
      fun setUp(
        server: MockWebServer,
        @MockWebServerInstance("server2") server2: MockWebServer,
      ) {
        this.server = server
        this.server2 = server2
    
        platform.assumeNotOpenJSSE()
      }
    
      @AfterEach
      fun tearDown() {
        cache.close()
        fileSystem.checkNoOpenFiles()
      }
    
      @Test
      fun get() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
Back to top