Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for repair (0.16 sec)

  1. docs/changelogs/changelog_4x.md

        the stream only or the entire connection. With this fix OkHttp will now send HTTP/2 pings after
        a stream timeout to determine whether the connection should remain eligible for pooling.
    
     *  Fix: Don't call `EventListener.responseHeadersStart()` or `responseBodyStart()` until bytes have
        been received. Previously these events were incorrectly sent too early, when OkHttp was ready to
    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

        val privateKey =
          keyFactory.generatePrivate(
            PKCS8EncodedKeySpec(privateKeyBytes.toByteArray()),
          )
        val heldCertificate =
          HeldCertificate.Builder()
            .keyPair(publicKey, privateKey)
            .commonName("cash.app")
            .validityInterval(0L, 1000L)
            .rsa2048()
            .build()
        assertThat(
          """
          |-----BEGIN CERTIFICATE-----
    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. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        assertThat(url.queryParameter("a")).isEqualTo("!$(),/:;?@[]\\^`{|}~")
      }
    
      /**
       * When callers use `addEncodedQueryParameter()` we only encode what's strictly required. We
       * retain the encoded (or non-encoded) state of the input.
       */
      @Test
      fun queryCharactersNotReencodedWhenComposedWithAddEncoded() {
        val url =
          HttpUrl.Builder()
            .scheme("http")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

       * was GET or HEAD.
       *
       * In OkHttp 4.6 and later, HTTP 307 and 308 redirects are honored for all request methods.
       *
       * If you're upgrading to OkHttp 4.6 and would like to retain the previous behavior, install this
       * as a **network interceptor**. It will strip the `Location` header of impacted responses to
       * prevent the redirect.
       *
       * ```
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt

              false,
              false,
            )
          }
        }
      }
    
      private fun createWorkspace(): Workspace {
        val bndDir = workspaceDir / "cnf"
        val repoDir = bndDir / "repo"
        fileSystem.createDirectories(repoDir)
        return Workspace(workspaceDir.toFile(), bndDir.name)
          .apply {
            setProperty(
              "${Constants.PLUGIN}.$REPO_NAME",
              LocalIndexedRepo::class.java.getName() +
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

          readTheListUninterruptibly()
        } else {
          try {
            readCompleteLatch.await()
          } catch (_: InterruptedException) {
            Thread.currentThread().interrupt() // Retain interrupted status.
          }
        }
    
        check(::publicSuffixListBytes.isInitialized) {
          // May have failed with an IOException
          "Unable to load $PUBLIC_SUFFIX_RESOURCE resource from the classpath."
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

       */
      @Throws(InterruptedIOException::class)
      internal fun waitForIo() {
        try {
          condition.await()
        } catch (_: InterruptedException) {
          Thread.currentThread().interrupt() // Retain interrupted status.
          throw InterruptedIOException()
        }
      }
    
      /**
       * The Okio timeout watchdog will call [timedOut] if the timeout is reached. In that case we close
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  8. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     *
     * @return the index of the match. If no match is found this is `(-1 - insertionPoint)`, where the
     *     inserting the element at `insertionPoint` will retain sorted order.
     */
    inline fun binarySearch(
      position: Int,
      limit: Int,
      compare: (Int) -> Int,
    ): Int {
      // Do the binary searching bit.
      var low = position
      var high = limit - 1
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

      @JvmOverloads
      constructor(
        val requiredPlatformName: String? = null,
        val platform: Platform? = null,
      ) : BeforeEachCallback, AfterEachCallback, InvocationInterceptor {
        private val versionChecks = mutableListOf<Pair<Matcher<out Any>, Matcher<out Any>>>()
    
        override fun beforeEach(context: ExtensionContext) {
          setupPlatform()
        }
    
        override fun afterEach(context: ExtensionContext) {
          resetPlatform()
        }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/EventListener.kt

     *
     * All start/connect/acquire events will eventually receive a matching end/release event, either
     * successful (non-null parameters), or failed (non-null throwable). The first common parameters of
     * each event pair are used to link the event in case of concurrent or repeated events e.g.
     * `dnsStart(call, domainName)` → `dnsEnd(call, domainName, inetAddressList)`.
     *
     * Events are typically nested with this structure:
     *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
Back to top