Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for noCoalescedConnections (0.08 sec)

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

        }
        connectionListener.noNewExchanges(this)
      }
    
      /** Prevent this connection from being used for hosts other than the one in [route]. */
      internal fun noCoalescedConnections() {
        withLock {
          noCoalescedConnections = true
        }
      }
    
      internal fun incrementSuccessCount() {
        withLock {
          successCount++
        }
      }
    
      @Throws(IOException::class)
      fun start() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

              return null
            }
    
            if (exchange == null || !exchange.isCoalescedConnection) {
              return null
            }
    
            exchange.connection.noCoalescedConnections()
            return userResponse.request
          }
    
          else -> return null
        }
      }
    
      private fun buildRedirectRequest(
        userResponse: Response,
        method: String,
    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