Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/main/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  2. okhttp/src/main/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) {
          condition.signalAll()
        }
      }
    
      @Throws(IOException::class)
      internal fun checkOutNotClosed() {
        when {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top