Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for removeStream (0.04 sec)

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

          }
          this.errorCode = errorCode
          this.errorException = errorException
          notifyAll()
          if (source.finished && sink.finished) {
            return false
          }
        }
        connection.removeStream(id)
        return true
      }
    
      @Throws(IOException::class)
      fun receiveData(
        source: BufferedSource,
        length: Int,
      ) {
        assertLockNotHeld()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

       */
      fun openStreamCount(): Int = withLock { streams.size }
    
      fun getStream(id: Int): Http2Stream? = withLock { streams[id] }
    
      internal fun removeStream(streamId: Int): Http2Stream? {
        withLock {
          val stream = streams.remove(streamId)
    
          // The removed stream may be blocked on a connection-wide window update.
          notifyAll()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
Back to top