Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for connectionClosed (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt

    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

              connection.noNewExchanges = true
              connectionUser.releaseConnectionNoEvents()
            }
          if (toClose != null) {
            toClose.closeQuietly()
            connectionListener.connectionClosed(connection)
          } else if (noNewExchangesEvent) {
            connectionListener.noNewExchanges(connection)
          }
        }
        return null
      }
    
      fun put(connection: RealConnection) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt

        }
        assertThat(listener.recordedEventTypes()).containsExactly(
          "ConnectStart",
          "ConnectEnd",
          "ConnectionAcquired",
          "NoNewExchanges",
          "ConnectionReleased",
          "ConnectionClosed",
        )
      }
    
      @Throws(IOException::class)
      private fun assertSuccessfulEventOrder() {
        val call =
          client.newCall(
            Request
              .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

            eventListener.connectionReleased(this, connection)
            connection.connectionListener.connectionReleased(connection, this)
            if (toClose != null) {
              connection.connectionListener.connectionClosed(connection)
            }
          } else {
            check(toClose == null) // If we still have a connection we shouldn't be closing any sockets.
          }
        }
    
        val result = timeoutExit(e)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top