Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for Hevery (0.17 sec)

  1. docs/changelogs/changelog_4x.md

        `okhttp-tls` module.
    
     *  Upgrade: [Kotlin 1.3.71][kotlin_1_3_71].
    
    
    ## Version 4.5.0
    
    _2020-04-06_
    
    **This release fixes a severe bug where OkHttp incorrectly detected and recovered from unhealthy
    connections.** Stale or canceled connections were incorrectly attempted when they shouldn't have
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

        assertThat(certificate.getSubjectX500Principal().name)
          .isEqualTo("CN=cash.app,OU=engineering")
      }
    
      @Test
      fun decodeRsa512() {
        // The certificate + private key below was generated with OpenSSL. Never generate certificates
        // with MD5 or 512-bit RSA; that's insecure!
        //
        // openssl req \
        //   -x509 \
        //   -md5 \
        //   -nodes \
        //   -days 1 \
        //   -newkey rsa:512 \
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_2x.md

     *  **New APIs to permit easy certificate pinning.** Be warned, certificate
        pinning is dangerous and could prevent your application from trusting your
        server!
    
     *  **Cache improvements.** This release fixes some severe cache problems
        including a bug where the cache could be corrupted upon certain access
        patterns. We also fixed a bug where the cache was being cleared due to a
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
  4. CHANGELOG.md

     *  Fix: `OkHttpClient` no longer implements `Cloneable`. It never should have; the class is
        immutable. This is left over from OkHttp 2.x (!) when that class was mutable. We're using the
        5.x upgrade as an opportunity to remove very obsolete APIs.
     *  Fix: Recover gracefully when Android's `NativeCrypto` crashes with `"ssl == null"`. This occurs
    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)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

          // small enough to avoid blowing up the heap.
          if (builder.client) {
            set(Settings.INITIAL_WINDOW_SIZE, OKHTTP_CLIENT_WINDOW_SIZE)
          }
        }
    
      /**
       * Settings we receive from the peer. Changes to the field are guarded by this. The instance is
       * never mutated once it has been assigned.
       */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Test
    
    /**
     * Access every type, function, and property from Kotlin to defend against unexpected regressions in
     * modern 4.0.x kotlin source-compatibility.
     */
    @Suppress(
      "ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE",
      "UNUSED_ANONYMOUS_PARAMETER",
      "UNUSED_VALUE",
      "UNUSED_VARIABLE",
      "VARIABLE_WITH_REDUNDANT_INITIALIZER",
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

          }
        }
      }
    
      private fun ensureAllTaskQueuesIdle() {
        val entryTime = System.nanoTime()
    
        for (queue in TaskRunner.INSTANCE.activeQueues()) {
          // We wait at most 1 second, so we don't ever turn multiple lost threads into
          // a test timeout failure.
          val waitTime = (entryTime + 1_000_000_000L - System.nanoTime())
          if (!queue.idleLatch().await(waitTime, TimeUnit.NANOSECONDS)) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        assertThat(server.receivedPingCount()).isEqualTo(0)
        assertThat(server.receivedPongCount()).isEqualTo(0)
        closeWebSockets(webSocket, server)
      }
    
      /**
       * Configure the websocket to send pings every 500 ms. Artificially prevent the server from
       * responding to pings. The client should give up when attempting to send its 2nd ping, at about
       * 1000 ms.
       */
      @Test
      fun unacknowledgedPingFailsConnection() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
  9. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

       * may trigger an [OutOfMemoryError]. Prefer to stream the response body if this is a
       * possibility for your response.
       */
      @Throws(IOException::class)
      fun bytes() = commonBytes()
    
      /**
       * Returns the response as a [ByteString].
       *
       * This method loads entire response body into memory. If the response body is very large this
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Request.kt

      /**
       * Returns the tag attached with `Object.class` as a key, or null if no tag is attached with
       * that key.
       *
       * Prior to OkHttp 3.11, this method never returned null if no tag was attached. Instead it
       * returned either this request, or the request upon which this request was derived with
       * [newBuilder].
       *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 04:17:44 GMT 2024
    - 10.5K bytes
    - Viewed (0)
Back to top