Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 246 for Timeouts (1.74 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

          if (degradedPongsReceived < degradedPingsSent && nowNs >= degradedPongDeadlineNs) return false
    
          return true
        }
      }
    
      /**
       * HTTP/2 can have both stream timeouts (due to a problem with a single stream) and connection
       * timeouts (due to a problem with the transport). When a stream times out we don't know whether
       * the problem impacts just one stream or the entire connection.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/Monitor.java

       * threads take special action by participating in the signal-passing game.
       */
    
      /*
       * Timeout handling is intricate, especially given our ambitious goals:
       * - Avoid underflow and overflow of timeout values when specified timeouts are close to
       *   Long.MIN_VALUE or Long.MAX_VALUE.
       * - Favor responding to interrupts over timeouts.
       * - System.nanoTime() is expensive enough that we want to call it the minimum required number of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

       *
       *  * For redirects (301: Moved Permanently, 302: Temporary Redirect, etc.)
       *  * For auth challenges (401: Unauthorized, 407: Proxy Authentication Required.)
       *  * For client timeouts (408: Request Time-Out.)
       *  * For server failures (503: Service Unavailable.)
       *
       * Response header values like `Location` and `Retry-After` are also considered.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. docs/features/interceptors.md

     * Permitted to short-circuit and not call `Chain.proceed()`.
     * Permitted to retry and make multiple calls to `Chain.proceed()`.
     * Can adjust Call timeouts using withConnectTimeout, withReadTimeout, withWriteTimeout.
    
    **Network Interceptors**
    
     * Able to operate on intermediate responses like redirects and retries.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  5. docs/features/events.md

    A single HTTP call may require follow-up requests to be made to handle authentication challenges, redirects, and HTTP-layer timeouts. In such cases multiple connections, requests, and responses may be attempted. Follow-ups are another reason a single call may trigger multiple events of the same type.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  6. mockwebserver/README.md

      .addHeader("Cache-Control", "no-cache")
      .body("{}")
      .build()
    ```
    
    MockResponse can be used to simulate a slow network. This is useful for
    testing timeouts and interactive testing.
    
    ### Java
    ```java
    MockResponse response = new MockResponse.Builder()
        .throttleBody(1024, 1, TimeUnit.SECONDS)
        .build();
    ```
    
    ### Kotlin
    ```kotlin
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:40:52 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            /** Timeout for process destruction in milliseconds. */
            private final long timeout;
    
            /**
             * Constructor for ProcessDestroyer.
             * @param p The process to monitor.
             * @param ist The input stream thread.
             * @param timeout The destruction timeout.
             */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Jul 18 14:34:06 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  8. CHANGELOG.md

        data.
    
     *  Fix: Don't fail the call when the response code is ‘HTTP 102 Processing’ or ‘HTTP 103 Early
        Hints’.
    
     *  Fix: Honor interceptors' changes to connect and read timeouts.
    
     *  Fix: Recover gracefully when a cached response is corrupted on disk.
    
     *  Fix: Don't leak file handles when a cache disk write fails.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

          Http2ExchangeCodec(client, this, chain, http2Connection)
        } else {
          javaNetSocket.soTimeout = chain.readTimeoutMillis()
          okHttpSocket.source.timeout().timeout(chain.readTimeoutMillis.toLong(), MILLISECONDS)
          okHttpSocket.sink.timeout().timeout(chain.writeTimeoutMillis.toLong(), MILLISECONDS)
          Http1ExchangeCodec(client, this, okHttpSocket)
        }
      }
    
      internal fun useAsSocket() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        }
        assertEquals(10, CacheTesting.expirationQueueSize(cache));
        assertEquals(10, removalListener.getCount()); // these are the invalidated ones
    
        // old timeouts must expire after this wait
        ticker.advance(ttl * 2 / 3, MILLISECONDS);
    
        assertEquals(10, CacheTesting.expirationQueueSize(cache));
        assertEquals(10, removalListener.getCount());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
Back to top