Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for max_concurrent_streams (0.13 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/SettingsTest.kt

    import assertk.assertions.isTrue
    import org.junit.jupiter.api.Test
    
    class SettingsTest {
      @Test
      fun unsetField() {
        val settings = Settings()
        assertThat(settings.isSet(Settings.MAX_CONCURRENT_STREAMS)).isFalse()
        assertThat(settings.getMaxConcurrentStreams()).isEqualTo(Int.MAX_VALUE)
      }
    
      @Test
      fun setFields() {
        val settings = Settings()
        settings[Settings.HEADER_TABLE_SIZE] = 8096
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

        val bit = 1 shl ENABLE_PUSH
        return if (bit and set != 0) values[ENABLE_PUSH] == 1 else defaultValue
      }
    
      fun getMaxConcurrentStreams(): Int {
        val bit = 1 shl MAX_CONCURRENT_STREAMS
        return if (bit and set != 0) values[MAX_CONCURRENT_STREAMS] else Int.MAX_VALUE
      }
    
      fun getMaxFrameSize(defaultValue: Int): Int {
        val bit = 1 shl MAX_FRAME_SIZE
        return if (bit and set != 0) values[MAX_FRAME_SIZE] else defaultValue
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

      }
    
      private fun connectHttp2(
        peer: MockHttp2Peer,
        realConnection: RealConnection,
        maxConcurrentStreams: Int,
      ): Http2Connection {
        // Write the mocking script.
        val settings1 = Settings()
        settings1[Settings.MAX_CONCURRENT_STREAMS] = maxConcurrentStreams
        peer.sendFrame().settings(settings1)
        peer.acceptFrame() // ACK
        peer.sendFrame().ping(false, 2, 0)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jun 22 16:06:35 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/compare/testdata/configdump.json

                                }
                              }
                            ],
                            "http2_protocol_options": {
                              "max_concurrent_streams": 100,
                              "allow_connect": true
                            },
                            "server_name": "istio-envoy",
                            "use_remote_address": false,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Mar 12 10:02:09 UTC 2024
    - 52K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        val settings = Settings()
        settings[Settings.MAX_CONCURRENT_STREAMS] = 10
        peer.sendFrame().settings(settings)
        peer.acceptFrame() // ACK
        peer.sendFrame().ping(false, 2, 0)
        peer.acceptFrame() // PING
        peer.play()
    
        // Play it back.
        val maxConcurrentStreamsUpdated = CountDownLatch(1)
        val maxConcurrentStreams = AtomicInteger()
        val listener: Http2Connection.Listener =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/compare/testdata/configdump_diff.json

                                }
                              }
                            ],
                            "http2_protocol_options": {
                              "max_concurrent_streams": 100,
                              "allow_connect": true
                            },
                            "server_name": "istio-envoy",
                            "forward_client_cert_details": "APPEND_FORWARD",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Mar 12 10:02:09 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      fun settingsLimitsMaxConcurrentStreams(
        protocol: Protocol,
        mockWebServer: MockWebServer,
      ) {
        setUp(protocol, mockWebServer)
        val settings = Settings()
        settings[Settings.MAX_CONCURRENT_STREAMS] = 2
    
        // Read & write a full request to confirm settings are accepted.
        server.enqueue(
          MockResponse.Builder()
            .settings(settings)
            .build(),
        )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  8. istioctl/pkg/authz/testdata/configdump.yaml

                   "@type": "type.googleapis.com/envoy.extensions.filters.http.router.v3.Router"
                  }
                 }
                ],
                "http2_protocol_options": {
                 "max_concurrent_streams": 100,
                 "allow_connect": true
                },
                "server_name": "waypoint-envoy",
                "use_remote_address": false,
                "forward_client_cert_details": "APPEND_FORWARD",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 21 14:20:23 UTC 2023
    - 206.7K bytes
    - Viewed (0)
  9. api/next/67813.txt

    pkg net/http, type HTTP2Config struct #67813
    pkg net/http, type HTTP2Config struct, CountError func(string) #67813
    pkg net/http, type HTTP2Config struct, MaxConcurrentStreams int #67813
    pkg net/http, type HTTP2Config struct, MaxDecoderHeaderTableSize int #67813
    pkg net/http, type HTTP2Config struct, MaxEncoderHeaderTableSize int #67813
    pkg net/http, type HTTP2Config struct, MaxReadFrameSize int #67813
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Aug 29 17:38:46 UTC 2024
    - 989 bytes
    - Viewed (0)
  10. manifests/charts/base/files/crd-all.gen.yaml

                                          1ms
                                        rule: duration(self) >= duration('1ms')
                                    maxConcurrentStreams:
                                      description: The maximum number of concurrent streams
                                        allowed for a peer on one HTTP/2 connection.
                                      format: int32
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Nov 01 16:23:52 UTC 2024
    - 805K bytes
    - Viewed (0)
Back to top