Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for timeoutEarlyExit (0.1 seconds)

  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)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 12:06:21 GMT 2026
    - 19.5K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

            val followUp = followUpRequest(response, exchange, chain)
    
            if (followUp == null) {
              if (exchange != null && exchange.isDuplex) {
                call.timeoutEarlyExit()
              }
              closeActiveExchange = false
              call.eventListener.followUpDecision(call, response, null)
              return response
            }
    
            val followUpBody = followUp.body
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.5K bytes
    - Click Count (0)
Back to Top