Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CallReference (0.04 sec)

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

          }
    
          // We've discovered a leaked call. This is an application bug.
          val callReference = reference as CallReference
          val message =
            "A connection to ${connection.route().address.url} was leaked. " +
              "Did you forget to close a response body?"
          Platform.get().logCloseableLeak(message, callReference.callStackTrace)
    
          references.removeAt(i)
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

      }
    
      fun acquireConnectionNoEvents(connection: RealConnection) {
        connection.assertLockHeld()
    
        check(this.connection == null)
        this.connection = connection
        connection.calls.add(CallReference(this, callStackTrace))
      }
    
      /**
       * Releases resources held with the request or response of [exchange]. This should be called when
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

                  override fun writeTo(sink: BufferedSink) {
                    callReference.get()!!.cancel()
                  }
                },
            ),
          )
        callReference.set(call)
        assertFailsWith<IOException> {
          call.execute()
        }.also { expected ->
          assertThat(call.isCanceled()).isTrue()
        }
        val recordedRequest = server.takeRequest()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 67.4K bytes
    - Viewed (0)
Back to top