Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for applyAndAckSettings (0.35 sec)

  1. docs/contribute/debug_logging.md

    [2020-01-01 00:00:00] Q10001 starting              : OkHttp squareup.com applyAndAckSettings
    [2020-01-01 00:00:00] Q10003 scheduled after   0 µs: OkHttp squareup.com onSettings
    [2020-01-01 00:00:00] Q10003 starting              : OkHttp squareup.com onSettings
    [2020-01-01 00:00:00] Q10001 finished run in   3 ms: OkHttp squareup.com applyAndAckSettings
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

          rstStream?.receiveRstStream(errorCode)
        }
    
        override fun settings(
          clearPrevious: Boolean,
          settings: Settings,
        ) {
          writerQueue.execute("$connectionName applyAndAckSettings") {
            applyAndAckSettings(clearPrevious, settings)
          }
        }
    
        /**
         * Apply inbound settings and send an acknowledgement to the peer that provided them.
         *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

          }
          sink.write(CONNECTION_PREFACE)
          sink.flush()
        }
      }
    
      /** Applies `peerSettings` and then sends a settings ACK. */
      @Throws(IOException::class)
      fun applyAndAckSettings(peerSettings: Settings) {
        this.withLock {
          if (closed) throw IOException("closed")
          this.maxFrameSize = peerSettings.getMaxFrameSize(maxFrameSize)
          if (peerSettings.headerTableSize != -1) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        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: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        }
      }
    
      @Test fun ackSettingsAppliesMaxFrameSize() {
        val newMaxFrameSize = 16777215
        val writer = Http2Writer(Buffer(), true)
        writer.applyAndAckSettings(Settings().set(Settings.MAX_FRAME_SIZE, newMaxFrameSize))
        assertThat(writer.maxDataLength()).isEqualTo(newMaxFrameSize)
        writer.frameHeader(0, newMaxFrameSize, Http2.TYPE_DATA, FLAG_NONE)
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/internal/http2/Http2Connection$Listener;-><init>()V
    HSPLokhttp3/internal/http2/Http2Connection$ReaderRunnable$applyAndAckSettings$1$1$2;-><init>(Lokhttp3/internal/http2/Http2Connection;Lkotlin/jvm/internal/Ref$ObjectRef;)V
    HSPLokhttp3/internal/http2/Http2Connection$ReaderRunnable$applyAndAckSettings$1$1$2;->invoke()Ljava/lang/Object;
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/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: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
Back to top