Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for fixed (0.15 sec)

  1. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      }
    
      @Test
      fun fixedLengthUpload_byteByByte() {
        doUpload(TransferKind.FIXED_LENGTH, WriteKind.BYTE_BY_BYTE)
      }
    
      @Test
      fun fixedLengthUpload_smallBuffers() {
        doUpload(TransferKind.FIXED_LENGTH, WriteKind.SMALL_BUFFERS)
      }
    
      @Test
      fun fixedLengthUpload_largeBuffers() {
        doUpload(TransferKind.FIXED_LENGTH, WriteKind.LARGE_BUFFERS)
      }
    
      private fun doUpload(
    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)
  2. docs/changelogs/changelog_2x.md

     *  **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
        corrupted journal. We've added APIs to configure a request's `Cache-Control`
        headers, and to manually clear the cache.
    
     *  **Request cancellation fixes.** This update fixes a bug where synchronous
    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)
  3. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

      exitProcess(if (summary.testsFailedCount != 0L) -1 else 0)
    }
    
    /**
     * Builds the Junit Test Engine for the native image.
     */
    fun buildTestEngine(): TestEngine = JupiterTestEngine()
    
    /**
     * Returns a fixed set of test classes from testlist.txt, skipping any not found in the
     * current classpath.  The IDE runs with less classes to avoid conflicting module ownership.
     */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        if (e is InterruptedIOException) {
          return e is SocketTimeoutException && !requestSendStarted
        }
    
        // Look for known client-side or negotiation errors that are unlikely to be fixed by trying
        // again with a different route.
        if (e is SSLHandshakeException) {
          // If the problem was a CertificateException from the X509TrustManager,
          // do not retry.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12.1K bytes
    - Viewed (4)
  5. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     *
     * ```
     *  0..63 : Length of the UTF-16 sequence that this range maps to. The offset is b2b3.
     * 64..79 : Offset by a fixed negative offset. The bottom 4 bits of b1 are the top 4 bits of the offset.
     * 80..95 : Offset by a fixed positive offset. The bottom 4 bits of b1 are the top 4 bits of the offset.
     *    119 : Ignored.
     *    120 : Valid.
     *    121 : Disallowed
    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)
  6. docs/changelogs/changelog_4x.md

        were triggered by OkHttp’s feature detection for TLS packages like `org.conscrypt`,
        `org.bouncycastle`, and `org.openjsse`.
     *  Upgrade: Explicitly depend on `kotlin-stdlib-jdk8`. This fixes a problem with dependency
        locking. That's a potential security vulnerability, tracked as [CVE-2022-24329].
     *  Upgrade: [publicsuffix.org data][public_suffix]. This powers `HttpUrl.topPrivateDomain()`.
    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)
  7. docs/features/events.md

    0.001 requestHeadersEnd
    0.002 responseHeadersStart
    0.082 responseHeadersEnd
    0.082 responseBodyStart
    0.082 responseBodyEnd
    0.083 connectionReleased
    0.083 callEnd
    ```
    
    Notice how no connect events are fired for the second call. It reused the connection from the first request for dramatically better performance.
    
    ### EventListener.Factory
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 7.7K bytes
    - Viewed (0)
  8. CHANGELOG.md

     *  New: Create a JPMS-compatible artifact for `JavaNetCookieJar`. Previously, multiple OkHttp
        artifacts defined classes in the `okhttp3` package, but this is forbidden by the Java module
        system. We've fixed this with a new package (`okhttp3.java.net.cookiejar`) and a new artifact,
        `com.squareup.okhttp3:okhttp-java-net-cookiehandler`. (The original artifact now delegates to
        this new one.)
    
        ```kotlin
    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)
  9. docs/changelogs/changelog_3x.md

         </dependency>
         ```
    
    
    ## Version 3.3.1
    
    _2016-05-28_
    
     *  Fix: The plaintext check in HttpLoggingInterceptor incorrectly classified
        newline characters as control characters. This is fixed.
     *  Fix: Don't crash reading non-ASCII characters in HTTP/2 headers or in cached
        HTTP headers.
     *  Fix: Retain the response body when an attempt to open a web socket returns a
        non-101 response code.
    
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

            taskRunner.kickCoordinator(this)
          }
        }
      }
    
      /**
       * Overload of [schedule] that uses a lambda for a repeating task.
       *
       * TODO: make this inline once this is fixed: https://github.com/oracle/graal/issues/3466
       */
      fun schedule(
        name: String,
        delayNanos: Long = 0L,
        block: () -> Long,
      ) {
        schedule(
          object : Task(name) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.5K bytes
    - Viewed (0)
Back to top