Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

        private set
    
      internal val socket: BufferedSocket = builder.socket
      val writer = Http2Writer(socket.sink, client)
    
      // Visible for testing
      val readerRunnable = ReaderRunnable(Http2Reader(socket.source, client))
    
      // Guarded by this.
      private val currentPushRequests = mutableSetOf<Int>()
    
      init {
        if (builder.pingIntervalMillis != 0) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  2. okhttp/src/androidMain/baseline-prof.txt

    HSPLokhttp3/internal/http2/Http2Connection$ReaderRunnable;-><init>(Lokhttp3/internal/http2/Http2Connection;Lokhttp3/internal/http2/Http2Reader;)V
    HSPLokhttp3/internal/http2/Http2Connection$ReaderRunnable;->ackSettings()V
    HSPLokhttp3/internal/http2/Http2Connection$ReaderRunnable;->data(ZILokio/BufferedSource;I)V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

      }
    
      private fun updateMaxConcurrentStreams(
        connection: Http2Connection,
        amount: Int,
      ) {
        val settings = Settings()
        settings[Settings.MAX_CONCURRENT_STREAMS] = amount
        connection.readerRunnable.applyAndAckSettings(true, settings)
        assertThat(connection.peerSettings[Settings.MAX_CONCURRENT_STREAMS]).isEqualTo(amount)
        taskFaker.runTasks()
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        val connection = connect(peer)
    
        // fake a settings frame with clear flag set.
        val settings2 = Settings()
        settings2[Settings.MAX_CONCURRENT_STREAMS] = 60000
        connection.readerRunnable.applyAndAckSettings(true, settings2)
        connection.withLock {
          assertThat(connection.peerSettings.headerTableSize).isEqualTo(-1)
          assertThat(connection.peerSettings.initialWindowSize)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
Back to top