Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for previous (0.18 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

        chain: RealInterceptorChain,
      ) {
        check(interceptorScopedExchange == null)
    
        this.withLock {
          check(!responseBodyOpen) {
            "cannot make a new request because the previous response is still open: " +
              "please call response.close()"
          }
          check(!requestBodyOpen)
        }
    
        if (newRoutePlanner) {
          val routePlanner =
            RealRoutePlanner(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  2. docs/changelogs/changelog_4x.md

        receiving stream to process it.
    
        This change may increase OkHttp's memory use for applications that make many concurrent HTTP
        calls and that can receive data faster than they can process it. Previously, OkHttp limited
        HTTP/2 to 16 MiB of unacknowledged data per connection. With this fix there is a limit of 16 MiB
        of unacknowledged data per stream and no per-connection limit.
    
    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)
  3. CHANGELOG.md

     *  Upgrade: [Okio 3.1.0][okio_3_1_0].
    
    
    ## Version 5.0.0-alpha.6
    
    _2022-03-14_
    
     *  Fix: Don't attempt to close pooled connections. We saw occasional fast fallback calls crash in
        the previous alpha due to an unexpected race.
    
    
    ## Version 5.0.0-alpha.5
    
    _2022-02-21_
    
     *  Fix: Don't include [Assertk][assertk] in OkHttp's production dependencies. This regression was
    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. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

       * from the remote peer. Existing streams are not impacted. This is intended to permit an endpoint
       * to gracefully stop accepting new requests without harming previously established streams.
       */
      @Throws(IOException::class)
      fun shutdown(statusCode: ErrorCode) {
        writer.withLock {
          val lastGoodStreamId: Int
          this.withLock {
            if (isShutdown) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

       * confirms the fast fallback implements these invariants:
       *
       *  * if there's no TCP connect in flight, start one.
       *  * don't start a new TCP connect within 250 ms of the previous TCP connect.
       */
      @Test
      fun minimumDelayEnforcedBetweenConnects() {
        val plan0 = routePlanner.addPlan()
        plan0.tcpConnectDelayNanos = 510.ms
        plan0.tcpConnectThrowable = IOException("boom!")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 20.9K bytes
    - Viewed (0)
Back to top