Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for timeoutEarlyExit (0.29 sec)

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

       * and duplex calls where the timeout only applies to the initial setup.
       */
      fun timeoutEarlyExit() {
        check(!timeoutEarlyExit)
        timeoutEarlyExit = true
        timeout.exit()
      }
    
      /**
       * @param closeExchange true if the current exchange should be closed because it will not be used.
       *     This is usually due to either an exception or a retry.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

            val exchange = call.interceptorScopedExchange
            val followUp = followUpRequest(response, exchange)
    
            if (followUp == null) {
              if (exchange != null && exchange.isDuplex) {
                call.timeoutEarlyExit()
              }
              closeActiveExchange = false
              call.eventListener.followUpDecision(call, response, null)
              return response
            }
    
            val followUpBody = followUp.body
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top