Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for timeoutEarlyExit (0.05 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()
      }
    
      fun upgradeToSocket() {
        timeoutEarlyExit()
    
        withLock {
          check(exchange != null)
          check(!socketSinkOpen && !socketSourceOpen)
          check(!requestBodyOpen)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 19.7K 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top