Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Chow (0.14 sec)

  1. docs/changelogs/changelog_4x.md

        locking. That's a potential security vulnerability, tracked as [CVE-2022-24329].
     *  Upgrade: [publicsuffix.org data][public_suffix]. This powers `HttpUrl.topPrivateDomain()`.
        It's also how OkHttp knows which domains can share cookies with one another.
     *  Upgrade: [Okio 3.2.0][okio_3_2_0].
    
    
    ## Version 4.10.0
    
    _2022-06-12_
    
     *  Upgrade: [Kotlin 1.6.20][kotlin_1_6_20].
    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-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

      private var currentTask: SerialTask = TestThreadSerialTask
    
      /** The coordinator task if it's waiting, and how it will resume. Guarded by [TaskRunner.lock]. */
      private var waitingCoordinatorTask: SerialTask? = null
      private var waitingCoordinatorInterrupted = false
      private var waitingCoordinatorNotified = false
    
      /** How many times a new task has been started. Guarded by [TaskRunner.lock]. */
      private var contextSwitchCount = 0
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

            .body(Buffer().write(ByteArray(Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE + 1)))
            .build(),
        )
        server.enqueue(
          MockResponse(body = "abc"),
        )
        // Enqueue an additional response that show if we burnt a good prior response.
        server.enqueue(
          MockResponse(body = "XXX"),
        )
        val call1 = client.newCall(Request(server.url("/")))
        val response1 = call1.execute()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        if (header.matches("\\d+".toRegex())) {
          return Integer.valueOf(header)
        }
        return Integer.MAX_VALUE
      }
    
      companion object {
        /**
         * How many redirects and auth challenges should we attempt? Chrome follows 21 redirects; Firefox,
         * curl, and wget follow 20; Safari follows 16; and HTTP/1.0 recommends 5.
         */
        private const val MAX_FOLLOW_UPS = 20
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12.1K bytes
    - Viewed (4)
  5. CHANGELOG.md

     *  New in okhttp-android: `HttpLoggingInterceptor.androidLogging()` and
        `LoggingEventListener.androidLogging()` write HTTP calls or events to Logcat.
    
     *  New: `OkHttpClient.webSocketCloseTimeout` configures how long a web socket connection will wait
        for a graceful shutdown before it performs an abrupt shutdown.
    
     *  Fix: Honor `RequestBody.isOneShot()` in `MultipartBody`
    
    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)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

        val parentFile = parentFile ?: return false
        if (parentFile == directory) return true
        return parentFile.isDescendentOf(directory)
      }
    
      /**
       * See FinalizationTester for discussion on how to best trigger GC in tests.
       * https://android.googlesource.com/platform/libcore/+/master/support/src/test/java/libcore/
       * java/lang/ref/FinalizationTester.java
       */
      @Throws(Exception::class)
      @JvmStatic
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

      }
    
      class AddressState(
        val address: Address,
        val queue: TaskQueue,
        var policy: ConnectionPool.AddressPolicy,
      ) {
        /**
         * How many calls the pool can carry without opening new connections. This field must only be
         * accessed by the connection closer task.
         */
        var concurrentCallCapacity: Int = 0
      }
    
      companion object {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

          "FINE: Q10000 scheduled after 100 µs: task",
          "FINE: Q10000 starting              : task",
          "FINE: Q10000 finished run in   0 µs: task",
        )
      }
    
      /** Inspect how many runnables have been enqueued. If none then we're truly sequential. */
      @Test fun singleQueueIsSerial() {
        redQueue.execute("task one", 100.µs) {
          log += "one:run@${taskFaker.nanoTime} parallel=${taskFaker.isParallel}"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 23K bytes
    - Viewed (0)
Back to top