Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for updateConnectionFlowControl (0.64 seconds)

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

              throw errorExceptionToDeliver!!
            }
    
            return -1L // This source is exhausted.
          }
        }
    
        private fun updateConnectionFlowControl(read: Long) {
          assertLockNotHeld()
    
          connection.updateConnectionFlowControl(read)
        }
    
        /**
         * Accept bytes on the connection's reader thread. This function avoids holding locks while it
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 07 18:57:05 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

          val stream = streams.remove(streamId)
    
          // The removed stream may be blocked on a connection-wide window update.
          notifyAll()
    
          return stream
        }
      }
    
      internal fun updateConnectionFlowControl(read: Long) {
        withLock {
          readBytes.update(total = read)
          val readBytesToAcknowledge = readBytes.unacknowledged
          if (readBytesToAcknowledge >= okHttpSettings.initialWindowSize / 2) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 31.9K bytes
    - Click Count (0)
Back to Top