Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 22 of 22 for RealConnection (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

      }
    
      /** Use a helper method so there's no hidden reference remaining on the stack.  */
      private fun allocateAndLeakAllocation(
        pool: ConnectionPool,
        connection: RealConnection,
      ) {
        val client =
          OkHttpClient
            .Builder()
            .connectionPool(pool)
            .build()
        val call = client.newCall(Request(connection.route().address.url)) as RealCall
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

            }
    
            return null
          }
    
          HTTP_MISDIRECTED_REQUEST -> {
            // OkHttp can coalesce HTTP/2 connections even if the domain names are different. See
            // RealConnection.isEligible(). If we attempted this and the server returned HTTP 421, then
            // we can retry on a different connection.
            val requestBody = userResponse.request.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