Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addBytesToWriteWindow (0.08 sec)

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

              failConnection(e)
            }
          }
          if (streamsToNotify != null) {
            for (stream in streamsToNotify) {
              stream.withLock {
                stream.addBytesToWriteWindow(delta)
              }
            }
          }
        }
    
        override fun ackSettings() {
          // TODO: If we don't get this callback after sending settings to the peer, SETTINGS_TIMEOUT.
        }
    
    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/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

        }
      }
    
      companion object {
        internal const val EMIT_BUFFER_SIZE = 16384L
      }
    
      /** [delta] will be negative if a settings frame initial window is smaller than the last. */
      fun addBytesToWriteWindow(delta: Long) {
        writeBytesMaximum += delta
        if (delta > 0L) {
          notifyAll()
        }
      }
    
      @Throws(IOException::class)
      internal fun checkOutNotClosed() {
        when {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
Back to top