From 054175af4fe2ff98b345061ce3f7c7531036fa9f Mon Sep 17 00:00:00 2001 From: Mustafa Munjid Date: Tue, 25 Apr 2023 11:22:39 +1000 Subject: [PATCH 01/12] Update http2 binding to support CONNECT --- .../http/internal/codec/Http2Setting.java | 4 +- .../http/internal/codec/Http2SettingsFW.java | 8 ++ .../internal/stream/HttpServerFactory.java | 28 ++++++- .../streams/rfc8441/client/ConnectIT.java | 68 +++++++++++++++++ .../streams/rfc8441/server/ConnectIT.java | 65 ++++++++++++++++ .../application/rfc8441/connect/client.rpt | 35 +++++++++ .../application/rfc8441/connect/server.rpt | 37 +++++++++ .../network/rfc8441/connect/client.rpt | 75 +++++++++++++++++++ .../network/rfc8441/connect/server.rpt | 73 ++++++++++++++++++ .../application/rfc8441/ConnectIT.java | 48 ++++++++++++ .../streams/network/rfc8441/ConnectIT.java | 48 ++++++++++++ 11 files changed, 486 insertions(+), 3 deletions(-) create mode 100644 runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/client/ConnectIT.java create mode 100644 runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java create mode 100644 specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/connect/client.rpt create mode 100644 specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/connect/server.rpt create mode 100644 specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/connect/client.rpt create mode 100644 specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/connect/server.rpt create mode 100644 specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/ConnectIT.java create mode 100644 specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/ConnectIT.java diff --git a/runtime/binding-http/src/main/java/io/aklivity/zilla/runtime/binding/http/internal/codec/Http2Setting.java b/runtime/binding-http/src/main/java/io/aklivity/zilla/runtime/binding/http/internal/codec/Http2Setting.java index 4a463cb32c..6318fab94b 100644 --- a/runtime/binding-http/src/main/java/io/aklivity/zilla/runtime/binding/http/internal/codec/Http2Setting.java +++ b/runtime/binding-http/src/main/java/io/aklivity/zilla/runtime/binding/http/internal/codec/Http2Setting.java @@ -23,7 +23,8 @@ public enum Http2Setting MAX_CONCURRENT_STREAMS(3), INITIAL_WINDOW_SIZE(4), MAX_FRAME_SIZE(5), - MAX_HEADER_LIST_SIZE(6); + MAX_HEADER_LIST_SIZE(6), + ENABLE_CONNECT_PROTOCOL(8); private final int id; @@ -49,6 +50,7 @@ static Http2Setting get( case 4: return INITIAL_WINDOW_SIZE; case 5: return MAX_FRAME_SIZE; case 6: return MAX_HEADER_LIST_SIZE; + case 8: return ENABLE_CONNECT_PROTOCOL; default: return UNKNOWN; } } diff --git a/runtime/binding-http/src/main/java/io/aklivity/zilla/runtime/binding/http/internal/codec/Http2SettingsFW.java b/runtime/binding-http/src/main/java/io/aklivity/zilla/runtime/binding/http/internal/codec/Http2SettingsFW.java index 19135b9b6a..1b43afd473 100644 --- a/runtime/binding-http/src/main/java/io/aklivity/zilla/runtime/binding/http/internal/codec/Http2SettingsFW.java +++ b/runtime/binding-http/src/main/java/io/aklivity/zilla/runtime/binding/http/internal/codec/Http2SettingsFW.java @@ -16,6 +16,7 @@ package io.aklivity.zilla.runtime.binding.http.internal.codec; import static io.aklivity.zilla.runtime.binding.http.internal.codec.Http2FrameType.SETTINGS; +import static io.aklivity.zilla.runtime.binding.http.internal.codec.Http2Setting.ENABLE_CONNECT_PROTOCOL; import static io.aklivity.zilla.runtime.binding.http.internal.codec.Http2Setting.ENABLE_PUSH; import static io.aklivity.zilla.runtime.binding.http.internal.codec.Http2Setting.HEADER_TABLE_SIZE; import static io.aklivity.zilla.runtime.binding.http.internal.codec.Http2Setting.INITIAL_WINDOW_SIZE; @@ -239,6 +240,13 @@ public Builder maxHeaderListSize(long size) return this; } + public Builder enableConnectProtocol() + { + addSetting(x -> x.setting(ENABLE_CONNECT_PROTOCOL.id(), 1L)); + return this; + } + + private Builder addSetting(Consumer mutator) { settingsRW.item(mutator); diff --git a/runtime/binding-http/src/main/java/io/aklivity/zilla/runtime/binding/http/internal/stream/HttpServerFactory.java b/runtime/binding-http/src/main/java/io/aklivity/zilla/runtime/binding/http/internal/stream/HttpServerFactory.java index 6c93072c7b..02cf3a0f49 100644 --- a/runtime/binding-http/src/main/java/io/aklivity/zilla/runtime/binding/http/internal/stream/HttpServerFactory.java +++ b/runtime/binding-http/src/main/java/io/aklivity/zilla/runtime/binding/http/internal/stream/HttpServerFactory.java @@ -215,11 +215,13 @@ public final class HttpServerFactory implements HttpStreamFactory private static final String HEADER_NAME_ORIGIN = "origin"; private static final String HEADER_NAME_SCHEME = ":scheme"; private static final String HEADER_NAME_AUTHORITY = ":authority"; + private static final String HEADER_NAME_PROTOCOL = ":protocol"; private static final String HEADER_NAME_CONTENT_TYPE = "content-type"; private static final String HEADER_NAME_CONTENT_LENGTH = "content-length"; private static final String METHOD_NAME_OPTIONS = "OPTIONS"; private static final String METHOD_NAME_POST = "POST"; + private static final String METHOD_NAME_CONNECT = "CONNECT"; private static final String CHALLENGE_RESPONSE_METHOD = METHOD_NAME_POST; private static final String CHALLENGE_RESPONSE_CONTENT_TYPE = "application/x-challenge-response"; @@ -5313,6 +5315,7 @@ private void doEncodeSettings( .maxConcurrentStreams(initialSettings.maxConcurrentStreams) .initialWindowSize(initialSettings.initialWindowSize) .maxHeaderListSize(initialSettings.maxHeaderListSize) + .enableConnectProtocol() .build(); doNetworkReservedData(traceId, authorization, 0L, http2Settings); @@ -6206,6 +6209,7 @@ private final class Http2HeadersDecoder private int method; private int scheme; private int path; + private int protocol; Http2ErrorCode connectionError; Http2ErrorCode streamError; @@ -6244,6 +6248,17 @@ void decodeHeaders( // a CONNECT request (Section 8.3). An HTTP request that omits // mandatory pseudo-header fields is malformed if (!error() && (method != 1 || scheme != 1 || path != 1)) + { + streamError = Http2ErrorCode.PROTOCOL_ERROR; + return; + } + + boolean isConnect = METHOD_NAME_CONNECT.equals(headers.get(HEADER_NAME_METHOD)); + + // A CONNECT request MAY include a ":protocol" pseudo-header, and + // a ":protocol" pseudo-header must not appear in a non-CONNECT request. + // TODO: Add test + if (!isConnect && protocol > 0 || isConnect && protocol > 1) { streamError = Http2ErrorCode.PROTOCOL_ERROR; } @@ -6344,6 +6359,7 @@ private void validatePseudoHeaders( return; } // request pseudo-header fields MUST be one of :authority, :method, :path, :scheme, + // and may be :protocol if the :method pseudo-header is CONNECT int index = context.index(name); switch (index) { @@ -6366,8 +6382,16 @@ private void validatePseudoHeaders( scheme++; break; default: - streamError = Http2ErrorCode.PROTOCOL_ERROR; - return; + if (HEADER_NAME_PROTOCOL.equals(name.getStringWithoutLengthUtf8(0, name.capacity()))) + { + protocol++; + // TODO must not be empty? + break; + } + else + { + streamError = Http2ErrorCode.PROTOCOL_ERROR; + } } } else diff --git a/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/client/ConnectIT.java b/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/client/ConnectIT.java new file mode 100644 index 0000000000..3ced78d3e9 --- /dev/null +++ b/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/client/ConnectIT.java @@ -0,0 +1,68 @@ +/* + * Copyright 2021-2022 Aklivity Inc. + * + * Aklivity licenses this file to you under the Apache License, + * version 2.0 (the "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at: + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + */ +package io.aklivity.zilla.runtime.binding.http.internal.streams.rfc8441.client; + +import static io.aklivity.zilla.runtime.binding.http.internal.HttpConfigurationTest.HTTP_CONCURRENT_STREAMS_NAME; +import static io.aklivity.zilla.runtime.binding.http.internal.HttpConfigurationTest.HTTP_STREAM_INITIAL_WINDOW_NAME; +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.engine.EngineConfiguration; +import io.aklivity.zilla.runtime.engine.test.EngineRule; +import io.aklivity.zilla.runtime.engine.test.annotation.Configuration; +import io.aklivity.zilla.runtime.engine.test.annotation.Configure; + +public class ConnectIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/connect/") + .addScriptRoot("net", "io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/connect/"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(10, SECONDS)); + + private final EngineRule engine = new EngineRule() + .directory("target/zilla-itests") + .commandBufferCapacity(1024) + .responseBufferCapacity(1024) + .counterValuesBufferCapacity(8192) + .configurationRoot("io/aklivity/zilla/specs/binding/http/config/v2") + .external("net0") + .configure(EngineConfiguration.ENGINE_DRAIN_ON_CLOSE, false) + .clean(); + + @Rule + public final TestRule chain = outerRule(engine).around(k3po).around(timeout); + + @Test + @Configuration("client.yaml") + @Specification({ + "${app}/client", + "${net}/server"}) + @Configure(name = HTTP_CONCURRENT_STREAMS_NAME, value = "100") + @Configure(name = HTTP_STREAM_INITIAL_WINDOW_NAME, value = "65535") + public void shouldConnect() throws Exception + { + k3po.finish(); + } +} diff --git a/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java b/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java new file mode 100644 index 0000000000..2c725fe322 --- /dev/null +++ b/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java @@ -0,0 +1,65 @@ +/* + * Copyright 2021-2022 Aklivity Inc. + * + * Aklivity licenses this file to you under the Apache License, + * version 2.0 (the "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at: + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + */ +package io.aklivity.zilla.runtime.binding.http.internal.streams.rfc8441.server; + +import static io.aklivity.zilla.runtime.binding.http.internal.HttpConfiguration.HTTP_STREAM_INITIAL_WINDOW; +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.engine.EngineConfiguration; +import io.aklivity.zilla.runtime.engine.test.EngineRule; +import io.aklivity.zilla.runtime.engine.test.annotation.Configuration; + +public class ConnectIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/connect/") + .addScriptRoot("net", "io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/connect/"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(10, SECONDS)); + + private final EngineRule engine = new EngineRule() + .directory("target/zilla-itests") + .commandBufferCapacity(1024) + .responseBufferCapacity(1024) + .counterValuesBufferCapacity(8192) + .configurationRoot("io/aklivity/zilla/specs/binding/http/config/v2") + .external("app0") + .configure(EngineConfiguration.ENGINE_DRAIN_ON_CLOSE, false) + .configure(HTTP_STREAM_INITIAL_WINDOW, 65535) + .clean(); + + @Rule + public final TestRule chain = outerRule(engine).around(k3po).around(timeout); + + @Test + @Configuration("server.yaml") + @Specification({ + "${app}/server", + "${net}/client"}) + public void shouldConnect() throws Exception + { + k3po.finish(); + } +} diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/connect/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/connect/client.rpt new file mode 100644 index 0000000000..5b0195dd99 --- /dev/null +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/connect/client.rpt @@ -0,0 +1,35 @@ +# +# Copyright 2021-2022 Aklivity Inc. +# +# Aklivity licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# + +connect "zilla://streams/app0" + option zilla:window 8192 + option zilla:transmission "half-duplex" + + +write zilla:begin.ext ${http:beginEx() + .typeId(zilla:id("http")) + .header(":method", "CONNECT") + .header(":scheme", "http") + .header(":authority", "localhost:8080") + .header(":path", "/chat") + .header(":protocol", "websocket") + .build()} +connected + +read zilla:begin.ext ${http:matchBeginEx() + .typeId(zilla:id("http")) + .header(":status", "200") + .build()} diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/connect/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/connect/server.rpt new file mode 100644 index 0000000000..a433784b37 --- /dev/null +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/connect/server.rpt @@ -0,0 +1,37 @@ +# +# Copyright 2021-2022 Aklivity Inc. +# +# Aklivity licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# + +accept "zilla://streams/app0" + option zilla:window 8192 + option zilla:transmission "half-duplex" +accepted + +read zilla:begin.ext ${http:matchBeginEx() + .typeId(zilla:id("http")) + .header(":method", "CONNECT") + .header(":scheme", "http") + .header(":authority", "localhost:8080") + .header(":path", "/chat") + .header(":protocol", "websocket") + .build()} + +connected + +write zilla:begin.ext ${http:beginEx() + .typeId(zilla:id("http")) + .header(":status", "200") + .build()} +write flush diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/connect/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/connect/client.rpt new file mode 100644 index 0000000000..1487777fbc --- /dev/null +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/connect/client.rpt @@ -0,0 +1,75 @@ +# +# Copyright 2021-2022 Aklivity Inc. +# +# Aklivity licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# + +connect "zilla://streams/net0" + option zilla:window 8192 + option zilla:transmission "duplex" +connected + +# client connection preface +write "PRI * HTTP/2.0\r\n" + "\r\n" + "SM\r\n" + "\r\n" +write flush + +# server connection preface - SETTINGS frame +read [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x7f 0xff 0xff 0xff] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 2147483647 + [0x00 0x04 0x00 0x00 0xff 0xff] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 65535 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true + +write [0x00 0x00 0x0c] # length = 12 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0xff 0xff] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 65535 +write flush + +write [0x00 0x00 0x36] # length = 54 + [0x01] # HEADERS frame + [0x04] # END_HEADERS + [0x00 0x00 0x00 0x01] # stream_id = 1 + [0x02 0x07 0x43 0x4f 0x4e 0x4e 0x45 0x43 0x54] # :method: CONNECT + [0x86] # :scheme: http + [0x01] [0x0e] "localhost:8080" # :authority: localhost:8080 + [0x04] [0x05] [0x2f 0x63 0x68 0x61 0x74] # :path: /chat + [0x00 0x09] [0x3a 0x70 0x72 0x6f 0x74 0x6f 0x63 0x6f 0x6c] [0x09] "websocket" # :protocol: websocket +write flush + +## Server settings ACK +write [0x00 0x00 0x00] # length = 0 + [0x04] # HTTP2 SETTINGS frame + [0x01] # ACK + [0x00 0x00 0x00 0x00] # stream_id = 0 +write flush + +# client settings ACK +read [0x00 0x00 0x00] # length = 0 + [0x04] # HTTP2 SETTINGS frame + [0x01] # ACK + [0x00 0x00 0x00 0x00] # stream_id = 0 + +read [0x00 0x00 0x01] # length + [0x01] # HEADERS frame + [0x04] # END_HEADERS + [0x00 0x00 0x00 0x01] # stream_id=1 + [0x88] # HTTP2 status 200 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/connect/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/connect/server.rpt new file mode 100644 index 0000000000..b42a4121fc --- /dev/null +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/connect/server.rpt @@ -0,0 +1,73 @@ +# +# Copyright 2021-2022 Aklivity Inc. +# +# Aklivity licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# + +accept "zilla://streams/net0" + option zilla:window 8192 + option zilla:transmission "duplex" +accepted +connected + +# server connection preface - SETTINGS frame +write [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x7f 0xff 0xff 0xff] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 2147483647 + [0x00 0x04 0x00 0x00 0xff 0xff] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 65535 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true +write flush + +# client connection preface +read "PRI * HTTP/2.0\r\n" + "\r\n" + "SM\r\n" + "\r\n" + +read [0x00 0x00 0x0c] # length = 12 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0xff 0xff] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 65535 + +read [0x00 0x00 0x36] # length = 54 + [0x01] # HEADERS frame + [0x04] # END_HEADERS + [0x00 0x00 0x00 0x01] # stream_id = 1 + [0x02 0x07 0x43 0x4f 0x4e 0x4e 0x45 0x43 0x54] # :method: CONNECT + [0x86] # :scheme: http + [0x01] [0x0e] "localhost:8080" # :authority: localhost:8080 + [0x04] [0x05] [0x2f 0x63 0x68 0x61 0x74] # :path: /chat + [0x00 0x09] [0x3a 0x70 0x72 0x6f 0x74 0x6f 0x63 0x6f 0x6c] [0x09] "websocket" # :protocol: websocket + +## client settings ACK +read [0x00 0x00 0x00] # length = 0 + [0x04] # HTTP2 SETTINGS frame + [0x01] # ACK + [0x00 0x00 0x00 0x00] # stream_id = 0 + +write [0x00 0x00 0x00] # length = 0 + [0x04] # HTTP2 SETTINGS frame + [0x01] # ACK + [0x00 0x00 0x00 0x00] # stream_id = 0 +write flush + +write [0x00 0x00 0x01] # length + [0x01] # HEADERS frame + [0x04] # END_HEADERS + [0x00 0x00 0x00 0x01] # stream_id=1 + [0x88] # HTTP2 status 200 diff --git a/specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/ConnectIT.java b/specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/ConnectIT.java new file mode 100644 index 0000000000..a3c1d8a6ed --- /dev/null +++ b/specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/ConnectIT.java @@ -0,0 +1,48 @@ +/* + * Copyright 2021-2022 Aklivity Inc. + * + * Aklivity licenses this file to you under the Apache License, + * version 2.0 (the "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at: + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + */ +package io.aklivity.zilla.specs.binding.http.streams.application.rfc8441; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +public class ConnectIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/connect"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(10, SECONDS)); + + @Rule + public final TestRule chain = outerRule(k3po).around(timeout); + + @Test + @Specification({ + "${app}/client", + "${app}/server", + }) + public void shouldAdvertiseSetting() throws Exception + { + k3po.finish(); + } +} diff --git a/specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/ConnectIT.java b/specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/ConnectIT.java new file mode 100644 index 0000000000..772078a403 --- /dev/null +++ b/specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/ConnectIT.java @@ -0,0 +1,48 @@ +/* + * Copyright 2021-2022 Aklivity Inc. + * + * Aklivity licenses this file to you under the Apache License, + * version 2.0 (the "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at: + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + */ +package io.aklivity.zilla.specs.binding.http.streams.network.rfc8441; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +public class ConnectIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("net", "io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/connect"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(10, SECONDS)); + + @Rule + public final TestRule chain = outerRule(k3po).around(timeout); + + @Test + @Specification({ + "${net}/client", + "${net}/server", + }) + public void shouldAdvertiseSetting() throws Exception + { + k3po.finish(); + } +} From b07d7e34582fd9f02250e50872d615e6f6714506 Mon Sep 17 00:00:00 2001 From: Mustafa Munjid Date: Sun, 7 May 2023 21:15:46 +1000 Subject: [PATCH 02/12] Add http2 support to ws server binding --- .../streams/rfc8441/server/ConnectIT.java | 19 ++- .../ws/internal/config/HttpVersion.java | 35 +++++ .../ws/internal/stream/WsServerFactory.java | 123 +++++++++++++----- .../application/rfc8441/data.response.rpt | 39 ++++++ .../application/rfc8441/opening.response.rpt | 32 +++++ .../streams/network/rfc8441/data.request.rpt | 50 +++++++ .../network/rfc8441/opening.request.rpt | 42 ++++++ .../streams/rfc8441/server/WsOverHttp2IT.java | 71 ++++++++++ .../network/rfc8441/invalid.header/client.rpt | 75 +++++++++++ .../network/rfc8441/invalid.header/server.rpt | 73 +++++++++++ .../network/rfc8441/InvalidProtocolIT.java | 48 +++++++ .../rfc8441/application/data.request.rpt | 41 ++++++ .../rfc8441/application/data.response.rpt | 39 ++++++ .../rfc8441/application/opening.request.rpt | 31 +++++ .../rfc8441/application/opening.response.rpt | 32 +++++ .../streams/rfc8441/network/data.request.rpt | 50 +++++++ .../streams/rfc8441/network/data.response.rpt | 48 +++++++ .../rfc8441/network/opening.request.rpt | 42 ++++++ .../rfc8441/network/opening.response.rpt | 42 ++++++ .../rfc8441/application/WsOverHttp2IT.java | 56 ++++++++ .../rfc8441/network/WsOverHttp2IT.java | 56 ++++++++ 21 files changed, 1004 insertions(+), 40 deletions(-) create mode 100644 runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/config/HttpVersion.java create mode 100644 runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441/data.response.rpt create mode 100644 runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441/opening.response.rpt create mode 100644 runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/data.request.rpt create mode 100644 runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/opening.request.rpt create mode 100644 runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/rfc8441/server/WsOverHttp2IT.java create mode 100644 specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/invalid.header/client.rpt create mode 100644 specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/invalid.header/server.rpt create mode 100644 specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/InvalidProtocolIT.java create mode 100644 specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.request.rpt create mode 100644 specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.response.rpt create mode 100644 specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/opening.request.rpt create mode 100644 specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/opening.response.rpt create mode 100644 specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.request.rpt create mode 100644 specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.response.rpt create mode 100644 specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.request.rpt create mode 100644 specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.response.rpt create mode 100644 specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/WsOverHttp2IT.java create mode 100644 specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/WsOverHttp2IT.java diff --git a/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java b/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java index 2c725fe322..b99eeee2f8 100644 --- a/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java +++ b/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java @@ -19,6 +19,7 @@ import static java.util.concurrent.TimeUnit.SECONDS; import static org.junit.rules.RuleChain.outerRule; +import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.rules.DisableOnDebug; @@ -34,8 +35,8 @@ public class ConnectIT { private final K3poRule k3po = new K3poRule() - .addScriptRoot("app", "io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/connect/") - .addScriptRoot("net", "io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/connect/"); + .addScriptRoot("app", "io/aklivity/zilla/specs/binding/http/streams/application/rfc8441") + .addScriptRoot("net", "io/aklivity/zilla/specs/binding/http/streams/network/rfc8441"); private final TestRule timeout = new DisableOnDebug(new Timeout(10, SECONDS)); @@ -56,10 +57,20 @@ public class ConnectIT @Test @Configuration("server.yaml") @Specification({ - "${app}/server", - "${net}/client"}) + "${app}/connect/server", + "${net}/connect/client"}) public void shouldConnect() throws Exception { k3po.finish(); } + + @Test + @Configuration("server.yaml") + @Specification({ + "${net}/invalid.header/client"}) + @Ignore("Investigate test failure") + public void shouldResetStreamForInvalidPseudoHeader() throws Exception + { + k3po.finish(); + } } diff --git a/runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/config/HttpVersion.java b/runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/config/HttpVersion.java new file mode 100644 index 0000000000..7730e40562 --- /dev/null +++ b/runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/config/HttpVersion.java @@ -0,0 +1,35 @@ +/* + * Copyright 2021-2022 Aklivity Inc. + * + * Aklivity licenses this file to you under the Apache License, + * version 2.0 (the "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at: + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + */ +package io.aklivity.zilla.runtime.binding.ws.internal.config; + +public enum HttpVersion +{ + HTTP_1_1("http/1.1"), + HTTP_2("h2"); + + private final String name; + + HttpVersion( + String name) + { + this.name = name; + } + + public String asString() + { + return name; + } +} diff --git a/runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/stream/WsServerFactory.java b/runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/stream/WsServerFactory.java index 0a061797e3..b16e5daf99 100644 --- a/runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/stream/WsServerFactory.java +++ b/runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/stream/WsServerFactory.java @@ -42,6 +42,7 @@ import io.aklivity.zilla.runtime.binding.ws.internal.WsBinding; import io.aklivity.zilla.runtime.binding.ws.internal.WsConfiguration; +import io.aklivity.zilla.runtime.binding.ws.internal.config.HttpVersion; import io.aklivity.zilla.runtime.binding.ws.internal.config.WsBindingConfig; import io.aklivity.zilla.runtime.binding.ws.internal.config.WsRouteConfig; import io.aklivity.zilla.runtime.binding.ws.internal.types.Array32FW; @@ -74,6 +75,9 @@ public final class WsServerFactory implements WsStreamFactory private static final byte[] HANDSHAKE_GUID = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11".getBytes(UTF_8); private static final String WEBSOCKET_UPGRADE = "websocket"; + private static final String WEBSOCKET_PROTOCOL = "websocket"; + private static final String METHOD_NAME_GET = "GET"; + private static final String METHOD_NAME_CONNECT = "CONNECT"; private static final String WEBSOCKET_VERSION_13 = "13"; private static final int MAXIMUM_HEADER_SIZE = 14; @@ -193,36 +197,26 @@ public MessageConsumer newStream( headers.merge(name, value, (v1, v2) -> String.format("%s, %s", v1, v2)); }); + final String method = headers.get(":method"); final String scheme = headers.get(":scheme"); final String authority = headers.get(":authority"); final String path = headers.get(":path"); final String upgrade = headers.get("upgrade"); + final String protocol = headers.get(":protocol"); final String version = headers.get("sec-websocket-version"); - final String key = headers.get("sec-websocket-key"); final String[] protocols = parseProtocols(headers.get("sec-websocket-protocol")); // TODO: need lightweight approach (end) MessageConsumer newStream = null; - if (upgrade == null) - { - final long newReplyId = supplyReplyId.applyAsLong(initialId); - doHttpBegin(sender, originId, routedId, newReplyId, 0L, 0L, 0, traceId, authorization, affinity, - hs -> hs.item(h -> h.name(":status").value("400")) - .item(h -> h.name("connection").value("close"))); - doHttpEnd(sender, originId, routedId, newReplyId, traceId); - newStream = (t, b, o, l) -> {}; - } - else if (key != null && - WEBSOCKET_UPGRADE.equalsIgnoreCase(upgrade) && - WEBSOCKET_VERSION_13.equals(version)) + if (METHOD_NAME_GET.equals(method) && upgrade != null || METHOD_NAME_CONNECT.equals(method) && protocol != null) { WsBindingConfig binding = bindings.get(routedId); if (binding != null) { WsRouteConfig route = null; - String protocol = null; + String websocketProtocol = null; for (int i = 0; i < (protocols != null ? protocols.length : 1); i++) { @@ -232,25 +226,58 @@ else if (key != null && if (newRoute != null && (route == null || newRoute.order < route.order)) { route = newRoute; - protocol = newProtocol; + websocketProtocol = newProtocol; } } - if (route != null) + if (route != null && WEBSOCKET_VERSION_13.equals(version)) { - newStream = new WsServer( - sender, - originId, - routedId, - initialId, - route.id, - key, - protocol, - scheme, - authority, - path)::onNetMessage; + final String key = headers.get("sec-websocket-key"); + if (key != null && + WEBSOCKET_UPGRADE.equalsIgnoreCase(upgrade)) + { + // HTTP1.1 handshake + newStream = new WsServer( + sender, + originId, + routedId, + initialId, + route.id, + HttpVersion.HTTP_1_1, + key, + websocketProtocol, + scheme, + authority, + path)::onNetMessage; + } + else if (WEBSOCKET_PROTOCOL.equalsIgnoreCase(protocol)) + { + // HTTP2 handshake + newStream = new WsServer( + sender, + originId, + routedId, + initialId, + route.id, + HttpVersion.HTTP_2, + null, + websocketProtocol, + scheme, + authority, + path)::onNetMessage; + } } } + + } + else + { + final long newReplyId = supplyReplyId.applyAsLong(initialId); + doHttpBegin(sender, originId, routedId, newReplyId, 0L, 0L, 0, traceId, authorization, affinity, + hs -> hs.item(h -> h.name(":status").value("400")) + .item(h -> h.name("connection").value("close"))); + doHttpEnd(sender, originId, routedId, newReplyId, traceId); + newStream = (t, b, o, l) -> {}; } return newStream; @@ -263,6 +290,7 @@ private final class WsServer private final long routedId; private final long initialId; private final long replyId; + private final HttpVersion httpVersion; private final String key; private final String protocol; private final String scheme; @@ -304,6 +332,7 @@ private WsServer( long routedId, long initialId, long resolvedId, + HttpVersion httpVersion, String key, String protocol, String scheme, @@ -315,6 +344,7 @@ private WsServer( this.routedId = routedId; this.initialId = initialId; this.replyId = supplyReplyId.applyAsLong(initialId); + this.httpVersion = httpVersion; this.key = key; this.protocol = protocol; this.scheme = scheme; @@ -333,14 +363,22 @@ private void doNetBegin( long authorization, long affinity) { - sha1.reset(); - sha1.update(key.getBytes(US_ASCII)); - final byte[] digest = sha1.digest(HANDSHAKE_GUID); - final Encoder encoder = Base64.getEncoder(); - final String handshakeHash = new String(encoder.encode(digest), US_ASCII); - - doHttpBegin(receiver, originId, routedId, replyId, replySeq, replyAck, replyMax, traceId, authorization, affinity, - setHttpHeaders(handshakeHash, protocol)); + if (httpVersion == HttpVersion.HTTP_1_1) + { + sha1.reset(); + sha1.update(key.getBytes(US_ASCII)); + final byte[] digest = sha1.digest(HANDSHAKE_GUID); + final Encoder encoder = Base64.getEncoder(); + final String handshakeHash = new String(encoder.encode(digest), US_ASCII); + + doHttpBegin(receiver, originId, routedId, replyId, replySeq, replyAck, replyMax, traceId, authorization, affinity, + setHttp11Headers(handshakeHash, protocol)); + } + else if (httpVersion == HttpVersion.HTTP_2) + { + doHttpBegin(receiver, originId, routedId, replyId, replySeq, replyAck, replyMax, traceId, authorization, affinity, + setHttp2Headers(protocol)); + } } private void doNetData( @@ -1540,7 +1578,7 @@ private Flyweight.Builder.Visitor visitWsEndEx( .sizeof(); } - private Consumer> setHttpHeaders( + private Consumer> setHttp11Headers( String handshakeHash, String protocol) { @@ -1558,6 +1596,19 @@ private Consumer> setHttpH }; } + private Consumer> setHttp2Headers( + String protocol) + { + return headers -> + { + headers.item(h -> h.name(":status").value("200")); + if (protocol != null) + { + headers.item(h -> h.name("sec-websocket-protocol").value(protocol)); + } + }; + } + private static String[] parseProtocols( final String protocols) { diff --git a/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441/data.response.rpt b/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441/data.response.rpt new file mode 100644 index 0000000000..66c78b259f --- /dev/null +++ b/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441/data.response.rpt @@ -0,0 +1,39 @@ +# +# Copyright 2021-2022 Aklivity Inc. +# +# Aklivity licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# + +accept "zilla://streams/app0" + option zilla:window 8192 + option zilla:transmission "duplex" +accepted + +read zilla:begin.ext ${ws:beginEx() + .typeId(zilla:id("ws")) + .protocol("chat") + .scheme("http") + .authority("localhost:8080") + .path("/chat") + .build()} + +connected + +# connection established + +read [0x81 0xfd] ([0..4] :readMask) +read option mask ${readMask} +read ([0..125] :server125) +read option mask [0x00 0x00 0x00 0x00] + +write ${server125} diff --git a/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441/opening.response.rpt b/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441/opening.response.rpt new file mode 100644 index 0000000000..751ae99757 --- /dev/null +++ b/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441/opening.response.rpt @@ -0,0 +1,32 @@ +# +# Copyright 2021-2022 Aklivity Inc. +# +# Aklivity licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# + +accept "zilla://streams/app0" + option zilla:window 8192 + option zilla:transmission "duplex" +accepted + +read zilla:begin.ext ${ws:beginEx() + .typeId(zilla:id("ws")) + .protocol("chat") + .scheme("http") + .authority("localhost:8080") + .path("/chat") + .build()} + +connected + +# connection established diff --git a/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/data.request.rpt b/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/data.request.rpt new file mode 100644 index 0000000000..ab56b385eb --- /dev/null +++ b/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/data.request.rpt @@ -0,0 +1,50 @@ +# +# Copyright 2021-2022 Aklivity Inc. +# +# Aklivity licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# + +property writeMask ${http:randomBytes(4)} +property client125 ${http:randomBytesUTF8(125)} + +connect "zilla://streams/net0" + option zilla:window 8192 + option zilla:transmission "duplex" + +write zilla:begin.ext ${http:beginEx() + .typeId(zilla:id("http")) + .header(":method", "CONNECT") + .header(":scheme", "http") + .header(":authority", "localhost:8080") + .header(":path", "/chat") + .header(":protocol", "websocket") + .header("sec-websocket-protocol", "chat, superchat") + .header("sec-websocket-version", "13") + .header("origin", "http://www.example.com") + .build()} + + +read zilla:begin.ext ${http:beginEx() + .typeId(zilla:id("http")) + .header(":status", "200") + .header("sec-websocket-protocol", "chat") + .build()} + +connected + +write [0x81 0xfd] ${writeMask} +write option mask ${writeMask} +write ${client125} +write option mask [0x00 0x00 0x00 0x00] + +read [0x82 0x7d] ${client125} \ No newline at end of file diff --git a/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/opening.request.rpt b/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/opening.request.rpt new file mode 100644 index 0000000000..c4434df91c --- /dev/null +++ b/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/opening.request.rpt @@ -0,0 +1,42 @@ +# +# Copyright 2021-2022 Aklivity Inc. +# +# Aklivity licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# + +connect "zilla://streams/net0" + option zilla:window 8192 + option zilla:transmission "duplex" + +write zilla:begin.ext ${http:beginEx() + .typeId(zilla:id("http")) + .header(":method", "CONNECT") + .header(":scheme", "http") + .header(":authority", "localhost:8080") + .header(":path", "/chat") + .header(":protocol", "websocket") + .header("sec-websocket-protocol", "chat, superchat") + .header("sec-websocket-version", "13") + .header("origin", "http://www.example.com") + .build()} + + +read zilla:begin.ext ${http:beginEx() + .typeId(zilla:id("http")) + .header(":status", "200") + .header("sec-websocket-protocol", "chat") + .build()} + +connected + +# connection established \ No newline at end of file diff --git a/runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/rfc8441/server/WsOverHttp2IT.java b/runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/rfc8441/server/WsOverHttp2IT.java new file mode 100644 index 0000000000..f4faf7d171 --- /dev/null +++ b/runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/rfc8441/server/WsOverHttp2IT.java @@ -0,0 +1,71 @@ +/* + * Copyright 2021-2022 Aklivity Inc. + * + * Aklivity licenses this file to you under the Apache License, + * version 2.0 (the "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at: + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + */ +package io.aklivity.zilla.runtime.binding.ws.internal.streams.rfc8441.server; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +import io.aklivity.zilla.runtime.engine.test.EngineRule; +import io.aklivity.zilla.runtime.engine.test.annotation.Configuration; + +public class WsOverHttp2IT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("net", "io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network") + .addScriptRoot("app", "io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(10, SECONDS)); + + private final EngineRule engine = new EngineRule() + .directory("target/zilla-itests") + .commandBufferCapacity(1024) + .responseBufferCapacity(1024) + .counterValuesBufferCapacity(4096) + .configurationRoot("io/aklivity/zilla/specs/binding/ws/config") + .external("app0") + .clean(); + + @Rule + public final TestRule chain = outerRule(engine).around(k3po).around(timeout); + + @Test + @Configuration("server.yaml") + @Specification({ + "${net}/opening.request", + "${app}/opening.response" }) + public void shouldEstablishConnection() throws Exception + { + k3po.finish(); + } + + @Test + @Configuration("server.yaml") + @Specification({ + "${net}/data.request", + "${app}/data.response" }) + public void shouldEchoData() throws Exception + { + k3po.finish(); + } +} diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/invalid.header/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/invalid.header/client.rpt new file mode 100644 index 0000000000..fce0158cbe --- /dev/null +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/invalid.header/client.rpt @@ -0,0 +1,75 @@ +# +# Copyright 2021-2022 Aklivity Inc. +# +# Aklivity licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# + +connect "zilla://streams/net0" + option zilla:window 8192 + option zilla:transmission "duplex" +connected + +# client connection preface +write "PRI * HTTP/2.0\r\n" + "\r\n" + "SM\r\n" + "\r\n" +write flush + +# server connection preface - SETTINGS frame +read [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x7f 0xff 0xff 0xff] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 2147483647 + [0x00 0x04 0x00 0x00 0xff 0xff] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 65535 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true + +write [0x00 0x00 0x0c] # length = 12 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0xff 0xff] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 65535 +write flush + +write [0x00 0x00 0x36] # length = 54 + [0x01] # HEADERS frame + [0x04] # END_HEADERS + [0x00 0x00 0x00 0x01] # stream_id = 1 + [0x82] # :method: GET + [0x86] # :scheme: http + [0x01] [0x0e] "localhost:8080" # :authority: localhost:8080 + [0x04] [0x05] [0x2f 0x63 0x68 0x61 0x74] # :path: /chat + [0x00 0x09] [0x3a 0x70 0x72 0x6f 0x74 0x6f 0x63 0x6f 0x6c] [0x09] "websocket" # :protocol: websocket +write flush + +## Server settings ACK +write [0x00 0x00 0x00] # length = 0 + [0x04] # HTTP2 SETTINGS frame + [0x01] # ACK + [0x00 0x00 0x00 0x00] # stream_id = 0 +write flush + +# client settings ACK +read [0x00 0x00 0x00] # length = 0 + [0x04] # HTTP2 SETTINGS frame + [0x01] # ACK + [0x00 0x00 0x00 0x00] # stream_id = 0 + +read [0x00 0x00 0x04] # length + [0x03] # RESET frame + [0x00] # NO FLAGS + [0x00 0x00 0x00 0x01] # stream_id=1 + [0x00 0x00 0x00 0x01] # PROTOCOL_ERROR diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/invalid.header/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/invalid.header/server.rpt new file mode 100644 index 0000000000..29a28629eb --- /dev/null +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/invalid.header/server.rpt @@ -0,0 +1,73 @@ +# +# Copyright 2021-2022 Aklivity Inc. +# +# Aklivity licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# + +accept "zilla://streams/net0" + option zilla:window 8192 + option zilla:transmission "duplex" +accepted +connected + +# server connection preface - SETTINGS frame +write [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x7f 0xff 0xff 0xff] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 2147483647 + [0x00 0x04 0x00 0x00 0xff 0xff] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 65535 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true +write flush + +# client connection preface +read "PRI * HTTP/2.0\r\n" + "\r\n" + "SM\r\n" + "\r\n" + +read [0x00 0x00 0x0c] # length = 12 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0xff 0xff] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 65535 + +read [0x00 0x00 0x36] # length = 54 + [0x01] # HEADERS frame + [0x04] # END_HEADERS + [0x00 0x00 0x00 0x01] # stream_id = 1 + [0x82] # :method: GET + [0x86] # :scheme: http + [0x01] [0x0e] "localhost:8080" # :authority: localhost:8080 + [0x04] [0x05] [0x2f 0x63 0x68 0x61 0x74] # :path: /chat + [0x00 0x09] [0x3a 0x70 0x72 0x6f 0x74 0x6f 0x63 0x6f 0x6c] [0x09] "websocket" # :protocol: websocket + +## client settings ACK +read [0x00 0x00 0x00] # length = 0 + [0x04] # HTTP2 SETTINGS frame + [0x01] # ACK + [0x00 0x00 0x00 0x00] # stream_id = 0 + +write [0x00 0x00 0x00] # length = 0 + [0x04] # HTTP2 SETTINGS frame + [0x01] # ACK + [0x00 0x00 0x00 0x00] # stream_id = 0 +write flush + +write [0x00 0x00 0x04] # length + [0x03] # RESET frame + [0x00] # NO FLAGS + [0x00 0x00 0x00 0x01] # stream_id=1 + [0x00 0x00 0x00 0x01] # PROTOCOL_ERROR diff --git a/specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/InvalidProtocolIT.java b/specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/InvalidProtocolIT.java new file mode 100644 index 0000000000..b5b3db625a --- /dev/null +++ b/specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/InvalidProtocolIT.java @@ -0,0 +1,48 @@ +/* + * Copyright 2021-2022 Aklivity Inc. + * + * Aklivity licenses this file to you under the Apache License, + * version 2.0 (the "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at: + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + */ +package io.aklivity.zilla.specs.binding.http.streams.network.rfc8441; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +public class InvalidProtocolIT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("net", "io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/invalid.header"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(10, SECONDS)); + + @Rule + public final TestRule chain = outerRule(k3po).around(timeout); + + @Test + @Specification({ + "${net}/client", + "${net}/server", + }) + public void shouldResetStreamForInvalidProtocol() throws Exception + { + k3po.finish(); + } +} diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.request.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.request.rpt new file mode 100644 index 0000000000..53768fd83f --- /dev/null +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.request.rpt @@ -0,0 +1,41 @@ +# +# Copyright 2021-2022 Aklivity Inc. +# +# Aklivity licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# + +property writeMask ${http:randomBytes(4)} +property client125 ${http:randomBytesUTF8(125)} + +connect "zilla://streams/app0" + option zilla:window 8192 + option zilla:transmission "duplex" + +write zilla:begin.ext ${ws:beginEx() + .typeId(zilla:id("ws")) + .protocol("chat") + .scheme("http") + .authority("localhost:8080") + .path("/chat") + .build()} + +connected + +# connection established + +write [0x81 0xfd] ${writeMask} +write option mask ${writeMask} +write ${client125} +write option mask [0x00 0x00 0x00 0x00] + +read ${client125} diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.response.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.response.rpt new file mode 100644 index 0000000000..66c78b259f --- /dev/null +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.response.rpt @@ -0,0 +1,39 @@ +# +# Copyright 2021-2022 Aklivity Inc. +# +# Aklivity licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# + +accept "zilla://streams/app0" + option zilla:window 8192 + option zilla:transmission "duplex" +accepted + +read zilla:begin.ext ${ws:beginEx() + .typeId(zilla:id("ws")) + .protocol("chat") + .scheme("http") + .authority("localhost:8080") + .path("/chat") + .build()} + +connected + +# connection established + +read [0x81 0xfd] ([0..4] :readMask) +read option mask ${readMask} +read ([0..125] :server125) +read option mask [0x00 0x00 0x00 0x00] + +write ${server125} diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/opening.request.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/opening.request.rpt new file mode 100644 index 0000000000..8c6e0e157d --- /dev/null +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/opening.request.rpt @@ -0,0 +1,31 @@ +# +# Copyright 2021-2022 Aklivity Inc. +# +# Aklivity licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# + +connect "zilla://streams/app0" + option zilla:window 8192 + option zilla:transmission "duplex" + +write zilla:begin.ext ${ws:beginEx() + .typeId(zilla:id("ws")) + .protocol("chat") + .scheme("http") + .authority("localhost:8080") + .path("/chat") + .build()} + +connected + +# connection established diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/opening.response.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/opening.response.rpt new file mode 100644 index 0000000000..751ae99757 --- /dev/null +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/opening.response.rpt @@ -0,0 +1,32 @@ +# +# Copyright 2021-2022 Aklivity Inc. +# +# Aklivity licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# + +accept "zilla://streams/app0" + option zilla:window 8192 + option zilla:transmission "duplex" +accepted + +read zilla:begin.ext ${ws:beginEx() + .typeId(zilla:id("ws")) + .protocol("chat") + .scheme("http") + .authority("localhost:8080") + .path("/chat") + .build()} + +connected + +# connection established diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.request.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.request.rpt new file mode 100644 index 0000000000..ab56b385eb --- /dev/null +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.request.rpt @@ -0,0 +1,50 @@ +# +# Copyright 2021-2022 Aklivity Inc. +# +# Aklivity licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# + +property writeMask ${http:randomBytes(4)} +property client125 ${http:randomBytesUTF8(125)} + +connect "zilla://streams/net0" + option zilla:window 8192 + option zilla:transmission "duplex" + +write zilla:begin.ext ${http:beginEx() + .typeId(zilla:id("http")) + .header(":method", "CONNECT") + .header(":scheme", "http") + .header(":authority", "localhost:8080") + .header(":path", "/chat") + .header(":protocol", "websocket") + .header("sec-websocket-protocol", "chat, superchat") + .header("sec-websocket-version", "13") + .header("origin", "http://www.example.com") + .build()} + + +read zilla:begin.ext ${http:beginEx() + .typeId(zilla:id("http")) + .header(":status", "200") + .header("sec-websocket-protocol", "chat") + .build()} + +connected + +write [0x81 0xfd] ${writeMask} +write option mask ${writeMask} +write ${client125} +write option mask [0x00 0x00 0x00 0x00] + +read [0x82 0x7d] ${client125} \ No newline at end of file diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.response.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.response.rpt new file mode 100644 index 0000000000..a61538a9fa --- /dev/null +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.response.rpt @@ -0,0 +1,48 @@ +# +# Copyright 2021-2022 Aklivity Inc. +# +# Aklivity licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# + +property writeMask ${http:randomBytes(4)} +property client125 ${http:randomBytesUTF8(125)} + +accept "zilla://streams/net0" + option zilla:window 8192 + option zilla:transmission "duplex" +accepted + +read zilla:begin.ext ${zilla:id("http")} + [0xc1 0x00 0x00 0x00] + [0x08 0x00 0x00 0x00] + [0x07] ":method" [0x07 0x00] "CONNECT" + [0x07] ":scheme" [0x04 0x00] "http" + [0x0a] ":authority" [0x0e 0x00] "localhost:8080" + [0x05] ":path" [0x05 0x00] "/chat" + [0x09] ":protocol" [0x09 0x00] "websocket" + [0x16] "sec-websocket-protocol" [0x0f 0x00] "chat, superchat" + [0x15] "sec-websocket-version" [0x02 0x00] "13" + [0x06] "origin" [0x16 0x00] "http://www.example.com" + +write zilla:begin.ext ${http:beginEx() + .typeId(zilla:id("http")) + .header(":status", "200") + .header("sec-websocket-protocol", "chat") + .build()} + +connected + +read [0x81 0xfd] +read [0..125] + +write [0x82 0x7d] ${client125} \ No newline at end of file diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.request.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.request.rpt new file mode 100644 index 0000000000..c4434df91c --- /dev/null +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.request.rpt @@ -0,0 +1,42 @@ +# +# Copyright 2021-2022 Aklivity Inc. +# +# Aklivity licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# + +connect "zilla://streams/net0" + option zilla:window 8192 + option zilla:transmission "duplex" + +write zilla:begin.ext ${http:beginEx() + .typeId(zilla:id("http")) + .header(":method", "CONNECT") + .header(":scheme", "http") + .header(":authority", "localhost:8080") + .header(":path", "/chat") + .header(":protocol", "websocket") + .header("sec-websocket-protocol", "chat, superchat") + .header("sec-websocket-version", "13") + .header("origin", "http://www.example.com") + .build()} + + +read zilla:begin.ext ${http:beginEx() + .typeId(zilla:id("http")) + .header(":status", "200") + .header("sec-websocket-protocol", "chat") + .build()} + +connected + +# connection established \ No newline at end of file diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.response.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.response.rpt new file mode 100644 index 0000000000..547f11f798 --- /dev/null +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.response.rpt @@ -0,0 +1,42 @@ +# +# Copyright 2021-2022 Aklivity Inc. +# +# Aklivity licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# + +accept "zilla://streams/net0" + option zilla:window 8192 + option zilla:transmission "duplex" +accepted + +read zilla:begin.ext ${zilla:id("http")} + [0xc1 0x00 0x00 0x00] + [0x08 0x00 0x00 0x00] + [0x07] ":method" [0x07 0x00] "CONNECT" + [0x07] ":scheme" [0x04 0x00] "http" + [0x0a] ":authority" [0x0e 0x00] "localhost:8080" + [0x05] ":path" [0x05 0x00] "/chat" + [0x09] ":protocol" [0x09 0x00] "websocket" + [0x16] "sec-websocket-protocol" [0x0f 0x00] "chat, superchat" + [0x15] "sec-websocket-version" [0x02 0x00] "13" + [0x06] "origin" [0x16 0x00] "http://www.example.com" + +write zilla:begin.ext ${http:beginEx() + .typeId(zilla:id("http")) + .header(":status", "200") + .header("sec-websocket-protocol", "chat") + .build()} + +connected + +# connection established \ No newline at end of file diff --git a/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/WsOverHttp2IT.java b/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/WsOverHttp2IT.java new file mode 100644 index 0000000000..3e78a956db --- /dev/null +++ b/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/WsOverHttp2IT.java @@ -0,0 +1,56 @@ +/* + * Copyright 2021-2022 Aklivity Inc. + * + * Aklivity licenses this file to you under the Apache License, + * version 2.0 (the "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at: + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + */ +package io.aklivity.zilla.specs.binding.ws.streams.rfc8441.application; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +public class WsOverHttp2IT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("app", "io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(5, SECONDS)); + + @Rule + public final TestRule chain = outerRule(k3po).around(timeout); + + @Test + @Specification({ + "${app}/opening.request", + "${app}/opening.response" }) + public void shouldEstablishConnection() throws Exception + { + k3po.finish(); + } + + @Test + @Specification({ + "${app}/data.request", + "${app}/data.response" }) + public void shouldEchoData() throws Exception + { + k3po.finish(); + } +} diff --git a/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/WsOverHttp2IT.java b/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/WsOverHttp2IT.java new file mode 100644 index 0000000000..b2dfc9fc4d --- /dev/null +++ b/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/WsOverHttp2IT.java @@ -0,0 +1,56 @@ +/* + * Copyright 2021-2022 Aklivity Inc. + * + * Aklivity licenses this file to you under the Apache License, + * version 2.0 (the "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at: + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + */ +package io.aklivity.zilla.specs.binding.ws.streams.rfc8441.network; + +import static java.util.concurrent.TimeUnit.SECONDS; +import static org.junit.rules.RuleChain.outerRule; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.DisableOnDebug; +import org.junit.rules.TestRule; +import org.junit.rules.Timeout; +import org.kaazing.k3po.junit.annotation.Specification; +import org.kaazing.k3po.junit.rules.K3poRule; + +public class WsOverHttp2IT +{ + private final K3poRule k3po = new K3poRule() + .addScriptRoot("net", "io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network"); + + private final TestRule timeout = new DisableOnDebug(new Timeout(5, SECONDS)); + + @Rule + public final TestRule chain = outerRule(k3po).around(timeout); + + @Test + @Specification({ + "${net}/opening.request", + "${net}/opening.response" }) + public void shouldEstablishConnection() throws Exception + { + k3po.finish(); + } + + @Test + @Specification({ + "${net}/data.request", + "${net}/data.response" }) + public void shouldEchoData() throws Exception + { + k3po.finish(); + } +} From 9c38a02943436bb5b43072be20095c4fee66fc76 Mon Sep 17 00:00:00 2001 From: Mustafa Munjid Date: Tue, 25 Apr 2023 11:22:39 +1000 Subject: [PATCH 03/12] Update http2 binding to support CONNECT --- .../http/internal/streams/rfc8441/server/ConnectIT.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java b/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java index b99eeee2f8..51465b43bd 100644 --- a/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java +++ b/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java @@ -57,8 +57,8 @@ public class ConnectIT @Test @Configuration("server.yaml") @Specification({ - "${app}/connect/server", - "${net}/connect/client"}) + "${app}/server", + "${net}/client"}) public void shouldConnect() throws Exception { k3po.finish(); From eb4c7a9c367bfdbe611f953797f89db206cd2fd7 Mon Sep 17 00:00:00 2001 From: Mustafa Munjid Date: Sun, 7 May 2023 21:15:46 +1000 Subject: [PATCH 04/12] Add http2 support to ws server binding --- .../http/internal/streams/rfc8441/server/ConnectIT.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java b/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java index 51465b43bd..b99eeee2f8 100644 --- a/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java +++ b/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java @@ -57,8 +57,8 @@ public class ConnectIT @Test @Configuration("server.yaml") @Specification({ - "${app}/server", - "${net}/client"}) + "${app}/connect/server", + "${net}/connect/client"}) public void shouldConnect() throws Exception { k3po.finish(); From d1965a2cfc52ba03b8981dd2db48f4129285c557 Mon Sep 17 00:00:00 2001 From: Mustafa Munjid Date: Sun, 21 May 2023 19:01:55 +1000 Subject: [PATCH 05/12] Update license headers --- .../binding/http/internal/streams/rfc8441/client/ConnectIT.java | 2 +- .../binding/http/internal/streams/rfc8441/server/ConnectIT.java | 2 +- .../zilla/runtime/binding/ws/internal/config/HttpVersion.java | 2 +- .../binding/ws/streams/application/rfc8441/data.response.rpt | 2 +- .../binding/ws/streams/application/rfc8441/opening.response.rpt | 2 +- .../specs/binding/ws/streams/network/rfc8441/data.request.rpt | 2 +- .../binding/ws/streams/network/rfc8441/opening.request.rpt | 2 +- .../ws/internal/streams/rfc8441/server/WsOverHttp2IT.java | 2 +- .../client.sent.read.abort.on.open.response/client.rpt | 2 +- .../binding/http/streams/application/rfc8441/connect/client.rpt | 2 +- .../binding/http/streams/application/rfc8441/connect/server.rpt | 2 +- .../binding/http/streams/network/rfc8441/connect/client.rpt | 2 +- .../binding/http/streams/network/rfc8441/connect/server.rpt | 2 +- .../http/streams/network/rfc8441/invalid.header/client.rpt | 2 +- .../http/streams/network/rfc8441/invalid.header/server.rpt | 2 +- .../binding/http/streams/application/rfc8441/ConnectIT.java | 2 +- .../specs/binding/http/streams/network/rfc8441/ConnectIT.java | 2 +- .../binding/http/streams/network/rfc8441/InvalidProtocolIT.java | 2 +- .../binding/ws/streams/rfc8441/application/data.request.rpt | 2 +- .../binding/ws/streams/rfc8441/application/data.response.rpt | 2 +- .../binding/ws/streams/rfc8441/application/opening.request.rpt | 2 +- .../binding/ws/streams/rfc8441/application/opening.response.rpt | 2 +- .../specs/binding/ws/streams/rfc8441/network/data.request.rpt | 2 +- .../specs/binding/ws/streams/rfc8441/network/data.response.rpt | 2 +- .../binding/ws/streams/rfc8441/network/opening.request.rpt | 2 +- .../binding/ws/streams/rfc8441/network/opening.response.rpt | 2 +- .../binding/ws/streams/rfc8441/application/WsOverHttp2IT.java | 2 +- .../specs/binding/ws/streams/rfc8441/network/WsOverHttp2IT.java | 2 +- 28 files changed, 28 insertions(+), 28 deletions(-) diff --git a/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/client/ConnectIT.java b/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/client/ConnectIT.java index 3ced78d3e9..cfac1980d4 100644 --- a/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/client/ConnectIT.java +++ b/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/client/ConnectIT.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2022 Aklivity Inc. + * Copyright 2021-2023 Aklivity Inc. * * Aklivity licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance diff --git a/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java b/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java index b99eeee2f8..f16fe191f3 100644 --- a/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java +++ b/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2022 Aklivity Inc. + * Copyright 2021-2023 Aklivity Inc. * * Aklivity licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance diff --git a/runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/config/HttpVersion.java b/runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/config/HttpVersion.java index 7730e40562..2de1b4f21b 100644 --- a/runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/config/HttpVersion.java +++ b/runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/config/HttpVersion.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2022 Aklivity Inc. + * Copyright 2021-2023 Aklivity Inc. * * Aklivity licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance diff --git a/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441/data.response.rpt b/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441/data.response.rpt index 66c78b259f..2f65ebdca0 100644 --- a/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441/data.response.rpt +++ b/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441/data.response.rpt @@ -1,5 +1,5 @@ # -# Copyright 2021-2022 Aklivity Inc. +# Copyright 2021-2023 Aklivity Inc. # # Aklivity licenses this file to you under the Apache License, # version 2.0 (the "License"); you may not use this file except in compliance diff --git a/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441/opening.response.rpt b/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441/opening.response.rpt index 751ae99757..2cdbf27a83 100644 --- a/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441/opening.response.rpt +++ b/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441/opening.response.rpt @@ -1,5 +1,5 @@ # -# Copyright 2021-2022 Aklivity Inc. +# Copyright 2021-2023 Aklivity Inc. # # Aklivity licenses this file to you under the Apache License, # version 2.0 (the "License"); you may not use this file except in compliance diff --git a/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/data.request.rpt b/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/data.request.rpt index ab56b385eb..1ba443f71f 100644 --- a/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/data.request.rpt +++ b/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/data.request.rpt @@ -1,5 +1,5 @@ # -# Copyright 2021-2022 Aklivity Inc. +# Copyright 2021-2023 Aklivity Inc. # # Aklivity licenses this file to you under the Apache License, # version 2.0 (the "License"); you may not use this file except in compliance diff --git a/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/opening.request.rpt b/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/opening.request.rpt index c4434df91c..68583706d6 100644 --- a/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/opening.request.rpt +++ b/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/opening.request.rpt @@ -1,5 +1,5 @@ # -# Copyright 2021-2022 Aklivity Inc. +# Copyright 2021-2023 Aklivity Inc. # # Aklivity licenses this file to you under the Apache License, # version 2.0 (the "License"); you may not use this file except in compliance diff --git a/runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/rfc8441/server/WsOverHttp2IT.java b/runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/rfc8441/server/WsOverHttp2IT.java index f4faf7d171..e7e0946699 100644 --- a/runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/rfc8441/server/WsOverHttp2IT.java +++ b/runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/rfc8441/server/WsOverHttp2IT.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2022 Aklivity Inc. + * Copyright 2021-2023 Aklivity Inc. * * Aklivity licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/application/rfc7540/connection.abort/client.sent.read.abort.on.open.response/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/application/rfc7540/connection.abort/client.sent.read.abort.on.open.response/client.rpt index b01f7da556..65fe6082bb 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/application/rfc7540/connection.abort/client.sent.read.abort.on.open.response/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/application/rfc7540/connection.abort/client.sent.read.abort.on.open.response/client.rpt @@ -16,7 +16,7 @@ # -# Copyright 2021-2022 Aklivity Inc. +# Copyright 2021-2023 Aklivity Inc. # # Aklivity licenses this file to you under the Apache License, # version 2.0 (the "License"); you may not use this file except in compliance diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/connect/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/connect/client.rpt index 5b0195dd99..cd9c30e758 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/connect/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/connect/client.rpt @@ -1,5 +1,5 @@ # -# Copyright 2021-2022 Aklivity Inc. +# Copyright 2021-2023 Aklivity Inc. # # Aklivity licenses this file to you under the Apache License, # version 2.0 (the "License"); you may not use this file except in compliance diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/connect/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/connect/server.rpt index a433784b37..a19d8e9435 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/connect/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/connect/server.rpt @@ -1,5 +1,5 @@ # -# Copyright 2021-2022 Aklivity Inc. +# Copyright 2021-2023 Aklivity Inc. # # Aklivity licenses this file to you under the Apache License, # version 2.0 (the "License"); you may not use this file except in compliance diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/connect/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/connect/client.rpt index 1487777fbc..9104675f91 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/connect/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/connect/client.rpt @@ -1,5 +1,5 @@ # -# Copyright 2021-2022 Aklivity Inc. +# Copyright 2021-2023 Aklivity Inc. # # Aklivity licenses this file to you under the Apache License, # version 2.0 (the "License"); you may not use this file except in compliance diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/connect/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/connect/server.rpt index b42a4121fc..cdd9a8e5d7 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/connect/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/connect/server.rpt @@ -1,5 +1,5 @@ # -# Copyright 2021-2022 Aklivity Inc. +# Copyright 2021-2023 Aklivity Inc. # # Aklivity licenses this file to you under the Apache License, # version 2.0 (the "License"); you may not use this file except in compliance diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/invalid.header/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/invalid.header/client.rpt index fce0158cbe..e324f5f8e7 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/invalid.header/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/invalid.header/client.rpt @@ -1,5 +1,5 @@ # -# Copyright 2021-2022 Aklivity Inc. +# Copyright 2021-2023 Aklivity Inc. # # Aklivity licenses this file to you under the Apache License, # version 2.0 (the "License"); you may not use this file except in compliance diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/invalid.header/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/invalid.header/server.rpt index 29a28629eb..da604777a4 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/invalid.header/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/invalid.header/server.rpt @@ -1,5 +1,5 @@ # -# Copyright 2021-2022 Aklivity Inc. +# Copyright 2021-2023 Aklivity Inc. # # Aklivity licenses this file to you under the Apache License, # version 2.0 (the "License"); you may not use this file except in compliance diff --git a/specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/ConnectIT.java b/specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/ConnectIT.java index a3c1d8a6ed..aaebd8e91a 100644 --- a/specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/ConnectIT.java +++ b/specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/application/rfc8441/ConnectIT.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2022 Aklivity Inc. + * Copyright 2021-2023 Aklivity Inc. * * Aklivity licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance diff --git a/specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/ConnectIT.java b/specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/ConnectIT.java index 772078a403..c30273c38c 100644 --- a/specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/ConnectIT.java +++ b/specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/ConnectIT.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2022 Aklivity Inc. + * Copyright 2021-2023 Aklivity Inc. * * Aklivity licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance diff --git a/specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/InvalidProtocolIT.java b/specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/InvalidProtocolIT.java index b5b3db625a..14cac52096 100644 --- a/specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/InvalidProtocolIT.java +++ b/specs/binding-http.spec/src/test/java/io/aklivity/zilla/specs/binding/http/streams/network/rfc8441/InvalidProtocolIT.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2022 Aklivity Inc. + * Copyright 2021-2023 Aklivity Inc. * * Aklivity licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.request.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.request.rpt index 53768fd83f..6ef7a896a4 100644 --- a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.request.rpt +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.request.rpt @@ -1,5 +1,5 @@ # -# Copyright 2021-2022 Aklivity Inc. +# Copyright 2021-2023 Aklivity Inc. # # Aklivity licenses this file to you under the Apache License, # version 2.0 (the "License"); you may not use this file except in compliance diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.response.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.response.rpt index 66c78b259f..2f65ebdca0 100644 --- a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.response.rpt +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.response.rpt @@ -1,5 +1,5 @@ # -# Copyright 2021-2022 Aklivity Inc. +# Copyright 2021-2023 Aklivity Inc. # # Aklivity licenses this file to you under the Apache License, # version 2.0 (the "License"); you may not use this file except in compliance diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/opening.request.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/opening.request.rpt index 8c6e0e157d..a1cff5bf86 100644 --- a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/opening.request.rpt +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/opening.request.rpt @@ -1,5 +1,5 @@ # -# Copyright 2021-2022 Aklivity Inc. +# Copyright 2021-2023 Aklivity Inc. # # Aklivity licenses this file to you under the Apache License, # version 2.0 (the "License"); you may not use this file except in compliance diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/opening.response.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/opening.response.rpt index 751ae99757..2cdbf27a83 100644 --- a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/opening.response.rpt +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/opening.response.rpt @@ -1,5 +1,5 @@ # -# Copyright 2021-2022 Aklivity Inc. +# Copyright 2021-2023 Aklivity Inc. # # Aklivity licenses this file to you under the Apache License, # version 2.0 (the "License"); you may not use this file except in compliance diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.request.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.request.rpt index ab56b385eb..1ba443f71f 100644 --- a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.request.rpt +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.request.rpt @@ -1,5 +1,5 @@ # -# Copyright 2021-2022 Aklivity Inc. +# Copyright 2021-2023 Aklivity Inc. # # Aklivity licenses this file to you under the Apache License, # version 2.0 (the "License"); you may not use this file except in compliance diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.response.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.response.rpt index a61538a9fa..de21acff6c 100644 --- a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.response.rpt +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.response.rpt @@ -1,5 +1,5 @@ # -# Copyright 2021-2022 Aklivity Inc. +# Copyright 2021-2023 Aklivity Inc. # # Aklivity licenses this file to you under the Apache License, # version 2.0 (the "License"); you may not use this file except in compliance diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.request.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.request.rpt index c4434df91c..68583706d6 100644 --- a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.request.rpt +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.request.rpt @@ -1,5 +1,5 @@ # -# Copyright 2021-2022 Aklivity Inc. +# Copyright 2021-2023 Aklivity Inc. # # Aklivity licenses this file to you under the Apache License, # version 2.0 (the "License"); you may not use this file except in compliance diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.response.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.response.rpt index 547f11f798..cc676c040b 100644 --- a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.response.rpt +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.response.rpt @@ -1,5 +1,5 @@ # -# Copyright 2021-2022 Aklivity Inc. +# Copyright 2021-2023 Aklivity Inc. # # Aklivity licenses this file to you under the Apache License, # version 2.0 (the "License"); you may not use this file except in compliance diff --git a/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/WsOverHttp2IT.java b/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/WsOverHttp2IT.java index 3e78a956db..3cacf3d32b 100644 --- a/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/WsOverHttp2IT.java +++ b/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/WsOverHttp2IT.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2022 Aklivity Inc. + * Copyright 2021-2023 Aklivity Inc. * * Aklivity licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance diff --git a/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/WsOverHttp2IT.java b/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/WsOverHttp2IT.java index b2dfc9fc4d..da50354229 100644 --- a/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/WsOverHttp2IT.java +++ b/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/WsOverHttp2IT.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2022 Aklivity Inc. + * Copyright 2021-2023 Aklivity Inc. * * Aklivity licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance From 3d67e7bed3666226ae7ace4e1008f8020cdd460f Mon Sep 17 00:00:00 2001 From: Mustafa Munjid Date: Sun, 21 May 2023 19:21:05 +1000 Subject: [PATCH 06/12] Add missing new lines. --- .../specs/binding/ws/streams/network/rfc8441/data.request.rpt | 2 +- .../binding/ws/streams/network/rfc8441/opening.request.rpt | 2 +- .../specs/binding/ws/streams/rfc8441/network/data.request.rpt | 2 +- .../specs/binding/ws/streams/rfc8441/network/data.response.rpt | 2 +- .../binding/ws/streams/rfc8441/network/opening.request.rpt | 2 +- .../binding/ws/streams/rfc8441/network/opening.response.rpt | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/data.request.rpt b/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/data.request.rpt index 1ba443f71f..20cba30432 100644 --- a/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/data.request.rpt +++ b/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/data.request.rpt @@ -47,4 +47,4 @@ write option mask ${writeMask} write ${client125} write option mask [0x00 0x00 0x00 0x00] -read [0x82 0x7d] ${client125} \ No newline at end of file +read [0x82 0x7d] ${client125} diff --git a/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/opening.request.rpt b/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/opening.request.rpt index 68583706d6..cb8a787c28 100644 --- a/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/opening.request.rpt +++ b/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/opening.request.rpt @@ -39,4 +39,4 @@ read zilla:begin.ext ${http:beginEx() connected -# connection established \ No newline at end of file +# connection established diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.request.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.request.rpt index 1ba443f71f..20cba30432 100644 --- a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.request.rpt +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.request.rpt @@ -47,4 +47,4 @@ write option mask ${writeMask} write ${client125} write option mask [0x00 0x00 0x00 0x00] -read [0x82 0x7d] ${client125} \ No newline at end of file +read [0x82 0x7d] ${client125} diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.response.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.response.rpt index de21acff6c..5893583be7 100644 --- a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.response.rpt +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.response.rpt @@ -45,4 +45,4 @@ connected read [0x81 0xfd] read [0..125] -write [0x82 0x7d] ${client125} \ No newline at end of file +write [0x82 0x7d] ${client125} diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.request.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.request.rpt index 68583706d6..cb8a787c28 100644 --- a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.request.rpt +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.request.rpt @@ -39,4 +39,4 @@ read zilla:begin.ext ${http:beginEx() connected -# connection established \ No newline at end of file +# connection established diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.response.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.response.rpt index cc676c040b..ad4d7fd526 100644 --- a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.response.rpt +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.response.rpt @@ -39,4 +39,4 @@ write zilla:begin.ext ${http:beginEx() connected -# connection established \ No newline at end of file +# connection established From d60189c82834e3baddfc2eb59b533e1f89614bbc Mon Sep 17 00:00:00 2001 From: Mustafa Munjid Date: Sun, 21 May 2023 20:00:05 +1000 Subject: [PATCH 07/12] Use DirectBuffer to count protocol header --- .../http/internal/stream/HttpServerFactory.java | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/runtime/binding-http/src/main/java/io/aklivity/zilla/runtime/binding/http/internal/stream/HttpServerFactory.java b/runtime/binding-http/src/main/java/io/aklivity/zilla/runtime/binding/http/internal/stream/HttpServerFactory.java index 02cf3a0f49..b3bdad3566 100644 --- a/runtime/binding-http/src/main/java/io/aklivity/zilla/runtime/binding/http/internal/stream/HttpServerFactory.java +++ b/runtime/binding-http/src/main/java/io/aklivity/zilla/runtime/binding/http/internal/stream/HttpServerFactory.java @@ -213,9 +213,9 @@ public final class HttpServerFactory implements HttpStreamFactory private static final String HEADER_NAME_ACCESS_CONTROL_EXPOSE_HEADERS = "access-control-expose-headers"; private static final String HEADER_NAME_METHOD = ":method"; private static final String HEADER_NAME_ORIGIN = "origin"; + private static final String HEADER_NAME_PROTOCOL = ":protocol"; private static final String HEADER_NAME_SCHEME = ":scheme"; private static final String HEADER_NAME_AUTHORITY = ":authority"; - private static final String HEADER_NAME_PROTOCOL = ":protocol"; private static final String HEADER_NAME_CONTENT_TYPE = "content-type"; private static final String HEADER_NAME_CONTENT_LENGTH = "content-length"; @@ -236,6 +236,7 @@ public final class HttpServerFactory implements HttpStreamFactory private static final String8FW HEADER_CONTENT_LENGTH = new String8FW("content-length"); private static final String8FW HEADER_METHOD = new String8FW(":method"); private static final String8FW HEADER_PATH = new String8FW(":path"); + private static final String8FW HEADER_PROTOCOL = new String8FW(":protocol"); private static final String8FW HEADER_SCHEME = new String8FW(":scheme"); private static final String8FW HEADER_SERVER = new String8FW("server"); private static final String8FW HEADER_STATUS = new String8FW(":status"); @@ -6258,7 +6259,11 @@ void decodeHeaders( // A CONNECT request MAY include a ":protocol" pseudo-header, and // a ":protocol" pseudo-header must not appear in a non-CONNECT request. // TODO: Add test - if (!isConnect && protocol > 0 || isConnect && protocol > 1) + if (!isConnect && protocol > 0 || isConnect && protocol > 1 || + // On requests that contain the :protocol pseudo-header field, the :scheme + // and :path pseudo-header fields of the target URI MUST also be included + // (RFC8441, Section 4). + protocol == 1 && (scheme != 1 || path != 1 || headers.get(HEADER_NAME_PROTOCOL).isBlank())) { streamError = Http2ErrorCode.PROTOCOL_ERROR; } @@ -6359,7 +6364,7 @@ private void validatePseudoHeaders( return; } // request pseudo-header fields MUST be one of :authority, :method, :path, :scheme, - // and may be :protocol if the :method pseudo-header is CONNECT + // and may be :protocol if the :method pseudo-header is CONNECT (RFC8441) int index = context.index(name); switch (index) { @@ -6382,10 +6387,9 @@ private void validatePseudoHeaders( scheme++; break; default: - if (HEADER_NAME_PROTOCOL.equals(name.getStringWithoutLengthUtf8(0, name.capacity()))) + if (HEADER_PROTOCOL.value().compareTo(name) == 0) { protocol++; - // TODO must not be empty? break; } else From 3e34b9bf42cae7d0e1334a5f2c5ecbd5bef5be58 Mon Sep 17 00:00:00 2001 From: Mustafa Munjid Date: Sun, 21 May 2023 20:03:34 +1000 Subject: [PATCH 08/12] Rename websocketProtocol to subprotocol --- .../ws/internal/stream/WsServerFactory.java | 27 +++++++++---------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/stream/WsServerFactory.java b/runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/stream/WsServerFactory.java index b16e5daf99..8e58adbddb 100644 --- a/runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/stream/WsServerFactory.java +++ b/runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/stream/WsServerFactory.java @@ -204,7 +204,7 @@ public MessageConsumer newStream( final String upgrade = headers.get("upgrade"); final String protocol = headers.get(":protocol"); final String version = headers.get("sec-websocket-version"); - final String[] protocols = parseProtocols(headers.get("sec-websocket-protocol")); + final String[] subprotocols = parseProtocols(headers.get("sec-websocket-protocol")); // TODO: need lightweight approach (end) MessageConsumer newStream = null; @@ -216,17 +216,16 @@ public MessageConsumer newStream( if (binding != null) { WsRouteConfig route = null; - String websocketProtocol = null; + String subprotocol = null; - for (int i = 0; i < (protocols != null ? protocols.length : 1); i++) - { - String newProtocol = protocols != null ? protocols[i] : null; + for (int i = 0; i < (subprotocols != null ? subprotocols.length : 1); i++) { + String newProtocol = subprotocols != null ? subprotocols[i] : null; WsRouteConfig newRoute = binding.resolve(authorization, newProtocol, scheme, authority, path); if (newRoute != null && (route == null || newRoute.order < route.order)) { route = newRoute; - websocketProtocol = newProtocol; + subprotocol = newProtocol; } } @@ -245,7 +244,7 @@ public MessageConsumer newStream( route.id, HttpVersion.HTTP_1_1, key, - websocketProtocol, + subprotocol, scheme, authority, path)::onNetMessage; @@ -261,7 +260,7 @@ else if (WEBSOCKET_PROTOCOL.equalsIgnoreCase(protocol)) route.id, HttpVersion.HTTP_2, null, - websocketProtocol, + subprotocol, scheme, authority, path)::onNetMessage; @@ -292,7 +291,7 @@ private final class WsServer private final long replyId; private final HttpVersion httpVersion; private final String key; - private final String protocol; + private final String subprotocol; private final String scheme; private final String authority; private final String path; @@ -334,7 +333,7 @@ private WsServer( long resolvedId, HttpVersion httpVersion, String key, - String protocol, + String subprotocol, String scheme, String authority, String path) @@ -346,7 +345,7 @@ private WsServer( this.replyId = supplyReplyId.applyAsLong(initialId); this.httpVersion = httpVersion; this.key = key; - this.protocol = protocol; + this.subprotocol = subprotocol; this.scheme = scheme; this.authority = authority; this.path = path; @@ -372,12 +371,12 @@ private void doNetBegin( final String handshakeHash = new String(encoder.encode(digest), US_ASCII); doHttpBegin(receiver, originId, routedId, replyId, replySeq, replyAck, replyMax, traceId, authorization, affinity, - setHttp11Headers(handshakeHash, protocol)); + setHttp11Headers(handshakeHash, subprotocol)); } else if (httpVersion == HttpVersion.HTTP_2) { doHttpBegin(receiver, originId, routedId, replyId, replySeq, replyAck, replyMax, traceId, authorization, affinity, - setHttp2Headers(protocol)); + setHttp2Headers(subprotocol)); } } @@ -606,7 +605,7 @@ private void onNetBegin( initialSeq = sequence; initialAck = acknowledge; - stream.doAppBegin(traceId, authorization, affinity, protocol, scheme, authority, path); + stream.doAppBegin(traceId, authorization, affinity, subprotocol, scheme, authority, path); } private void onNetData( From 8af6a12be30375dfcbff648bb9262f6bda5a6b3f Mon Sep 17 00:00:00 2001 From: Mustafa Munjid Date: Thu, 1 Jun 2023 18:06:41 +1000 Subject: [PATCH 09/12] Add SETTINGS_ENABLE_CONNECT_PROTOCOL to specs --- .../allow.credentials.cookie/client.rpt | 3 ++- .../allow.credentials.cookie/server.rpt | 3 ++- .../allow.headers.credentials.cached/client.rpt | 3 ++- .../allow.headers.credentials.cached/server.rpt | 3 ++- .../allow.headers.credentials/client.rpt | 3 ++- .../allow.headers.credentials/server.rpt | 3 ++- .../allow.headers.explicit.cached/client.rpt | 3 ++- .../allow.headers.explicit.cached/server.rpt | 3 ++- .../access.control/allow.headers.explicit/client.rpt | 3 ++- .../access.control/allow.headers.explicit/server.rpt | 3 ++- .../allow.headers.wildcard.cached/client.rpt | 3 ++- .../allow.headers.wildcard.cached/server.rpt | 3 ++- .../access.control/allow.headers.wildcard/client.rpt | 3 ++- .../access.control/allow.headers.wildcard/server.rpt | 3 ++- .../allow.methods.credentials.cached/client.rpt | 3 ++- .../allow.methods.credentials.cached/server.rpt | 3 ++- .../allow.methods.credentials/client.rpt | 3 ++- .../allow.methods.credentials/server.rpt | 3 ++- .../allow.methods.explicit.cached/client.rpt | 3 ++- .../allow.methods.explicit.cached/server.rpt | 3 ++- .../access.control/allow.methods.explicit/client.rpt | 3 ++- .../access.control/allow.methods.explicit/server.rpt | 3 ++- .../allow.methods.wildcard.cached/client.rpt | 3 ++- .../allow.methods.wildcard.cached/server.rpt | 3 ++- .../access.control/allow.methods.wildcard/client.rpt | 3 ++- .../access.control/allow.methods.wildcard/server.rpt | 3 ++- .../allow.origin.credentials/client.rpt | 3 ++- .../allow.origin.credentials/server.rpt | 3 ++- .../access.control/allow.origin.explicit/client.rpt | 3 ++- .../access.control/allow.origin.explicit/server.rpt | 3 ++- .../allow.origin.omitted.cross.origin/client.rpt | 3 ++- .../allow.origin.omitted.cross.origin/server.rpt | 3 ++- .../allow.origin.omitted.same.origin/client.rpt | 3 ++- .../allow.origin.omitted.same.origin/server.rpt | 3 ++- .../client.rpt | 3 ++- .../server.rpt | 3 ++- .../client.rpt | 3 ++- .../server.rpt | 3 ++- .../allow.origin.same.origin/client.rpt | 3 ++- .../allow.origin.same.origin/server.rpt | 3 ++- .../access.control/allow.origin.wildcard/client.rpt | 3 ++- .../access.control/allow.origin.wildcard/server.rpt | 3 ++- .../expose.headers.credentials/client.rpt | 3 ++- .../expose.headers.credentials/server.rpt | 3 ++- .../expose.headers.explicit/client.rpt | 3 ++- .../expose.headers.explicit/server.rpt | 3 ++- .../expose.headers.wildcard/client.rpt | 3 ++- .../expose.headers.wildcard/server.rpt | 3 ++- .../reject.header.not.allowed/client.rpt | 3 ++- .../reject.header.not.allowed/server.rpt | 3 ++- .../reject.method.not.allowed/client.rpt | 3 ++- .../reject.method.not.allowed/server.rpt | 3 ++- .../reject.origin.not.allowed/client.rpt | 3 ++- .../reject.origin.not.allowed/server.rpt | 3 ++- .../access.control/reject.origin.omitted/client.rpt | 3 ++- .../access.control/reject.origin.omitted/server.rpt | 3 ++- .../authorize.credentials.cookie/client.rpt | 3 ++- .../authorize.credentials.cookie/server.rpt | 3 ++- .../authorize.credentials.header/client.rpt | 3 ++- .../authorize.credentials.header/server.rpt | 3 ++- .../authorize.credentials.query/client.rpt | 3 ++- .../authorize.credentials.query/server.rpt | 3 ++- .../challenge.credentials.cookie/client.rpt | 3 ++- .../challenge.credentials.cookie/server.rpt | 3 ++- .../challenge.credentials.header/client.rpt | 3 ++- .../challenge.credentials.header/server.rpt | 3 ++- .../challenge.credentials.query/client.rpt | 3 ++- .../challenge.credentials.query/server.rpt | 3 ++- .../expire.credentials.cookie/client.rpt | 3 ++- .../expire.credentials.cookie/server.rpt | 3 ++- .../expire.credentials.header/client.rpt | 3 ++- .../expire.credentials.header/server.rpt | 3 ++- .../expire.credentials.query/client.rpt | 3 ++- .../expire.credentials.query/server.rpt | 3 ++- .../reauthorize.credentials.cookie/client.rpt | 3 ++- .../reauthorize.credentials.cookie/server.rpt | 3 ++- .../reauthorize.credentials.header/client.rpt | 3 ++- .../reauthorize.credentials.header/server.rpt | 3 ++- .../reauthorize.credentials.query/client.rpt | 3 ++- .../reauthorize.credentials.query/server.rpt | 3 ++- .../reject.credentials.cookie/client.rpt | 3 ++- .../reject.credentials.cookie/server.rpt | 3 ++- .../reject.credentials.header/client.rpt | 3 ++- .../reject.credentials.header/server.rpt | 3 ++- .../reject.credentials.missing/client.rpt | 3 ++- .../reject.credentials.missing/server.rpt | 3 ++- .../reject.credentials.query/client.rpt | 3 ++- .../reject.credentials.query/server.rpt | 3 ++- .../network/rfc7540/config/server.header/client.rpt | 3 ++- .../network/rfc7540/config/server.header/server.rpt | 3 ++- .../rfc7540/config/user.agent.header/client.rpt | 3 ++- .../rfc7540/config/user.agent.header/server.rpt | 3 ++- .../client.rpt | 5 +++-- .../server.rpt | 3 ++- .../connection.abort/client.sent.rst/client.rpt | 3 ++- .../connection.abort/client.sent.rst/server.rpt | 3 ++- .../client.rpt | 3 ++- .../server.rpt | 3 ++- .../client.rpt | 3 ++- .../server.rpt | 3 ++- .../client.rpt | 3 ++- .../server.rpt | 3 ++- .../client.rpt | 3 ++- .../server.rpt | 3 ++- .../client.rpt | 3 ++- .../server.rpt | 3 ++- .../client.rpt | 3 ++- .../server.rpt | 3 ++- .../client.rpt | 3 ++- .../server.rpt | 3 ++- .../client.rpt | 10 ++++++++++ .../server.rpt | 11 +++++++++++ .../client.rpt | 3 ++- .../server.rpt | 3 ++- .../client.rpt | 10 ++++++++++ .../server.rpt | 11 +++++++++++ .../client.rpt | 3 ++- .../server.rpt | 3 ++- .../client.rpt | 3 ++- .../server.rpt | 3 ++- .../client.rpt | 3 ++- .../server.rpt | 3 ++- .../client.rpt | 3 ++- .../server.rpt | 3 ++- .../client.sent.write.close/client.rpt | 3 ++- .../client.sent.write.close/server.rpt | 3 ++- .../connection.established/client.rpt | 3 ++- .../connection.established/server.rpt | 3 ++- .../connection.has.two.streams/client.rpt | 3 ++- .../connection.has.two.streams/server.rpt | 3 ++- .../http.authority.default.port/client.rpt | 3 ++- .../http.authority.default.port/server.rpt | 3 ++- .../client.rpt | 3 ++- .../server.rpt | 3 ++- .../http.get.exchange/client.rpt | 3 ++- .../http.get.exchange/server.rpt | 3 ++- .../http.path.prefix/client.rpt | 3 ++- .../http.path.prefix/server.rpt | 3 ++- .../http.path.with.query/client.rpt | 3 ++- .../http.path.with.query/server.rpt | 3 ++- .../client.rpt | 3 ++- .../server.rpt | 3 ++- .../http.post.exchange.streaming/client.rpt | 3 ++- .../http.post.exchange.streaming/server.rpt | 3 ++- .../http.post.exchange/client.rpt | 10 ++++++++++ .../http.post.exchange/server.rpt | 11 +++++++++++ .../http.push.promise.header.override/client.rpt | 3 ++- .../http.push.promise.header.override/server.rpt | 3 ++- .../client.rpt | 3 ++- .../server.rpt | 3 ++- .../http.push.promise/client.rpt | 10 ++++++++++ .../http.push.promise/server.rpt | 11 +++++++++++ .../http.response.trailer/client.rpt | 3 ++- .../http.response.trailer/server.rpt | 3 ++- .../http.unknown.authority/client.rpt | 3 ++- .../http.unknown.authority/server.rpt | 3 ++- .../http.unknown.path/client.rpt | 3 ++- .../http.unknown.path/server.rpt | 3 ++- .../ignore.client.rst.stream/client.rpt | 3 ++- .../ignore.client.rst.stream/server.rpt | 3 ++- .../ignore.server.rst.stream/client.rpt | 10 ++++++++++ .../ignore.server.rst.stream/server.rpt | 11 +++++++++++ .../multiple.data.frames/client.rpt | 3 ++- .../multiple.data.frames/server.rpt | 3 ++- .../push.promise.on.different.stream/client.rpt | 3 ++- .../push.promise.on.different.stream/server.rpt | 3 ++- .../client.rpt | 10 ++++++++++ .../server.rpt | 11 +++++++++++ .../server.sent.end.stream.before.payload/client.rpt | 12 +++++++++++- .../server.sent.end.stream.before.payload/server.rpt | 11 +++++++++++ .../client.rpt | 3 ++- .../server.rpt | 3 ++- .../client.rpt | 3 ++- .../server.rpt | 3 ++- .../client.rpt | 10 ++++++++++ .../server.rpt | 11 +++++++++++ .../client.rpt | 3 ++- .../server.rpt | 3 ++- .../server.sent.write.close/client.rpt | 3 ++- .../server.sent.write.close/server.rpt | 3 ++- .../streams.on.same.connection/client.rpt | 10 ++++++++++ .../streams.on.same.connection/server.rpt | 11 +++++++++++ .../client.rst.stream.last.frame/client.rpt | 3 ++- .../client.rst.stream.last.frame/server.rpt | 3 ++- .../flow.control/client.sent.100k.message/client.rpt | 3 ++- .../flow.control/client.sent.100k.message/server.rpt | 3 ++- .../flow.control/client.stream.flow/client.rpt | 10 ++++++++++ .../flow.control/client.stream.flow/server.rpt | 11 +++++++++++ .../server.rst.stream.last.frame/client.rpt | 3 ++- .../server.rst.stream.last.frame/server.rpt | 3 ++- .../flow.control/server.sent.100k.message/client.rpt | 3 ++- .../flow.control/server.sent.100k.message/server.rpt | 3 ++- .../flow.control/server.stream.flow/client.rpt | 3 ++- .../flow.control/server.stream.flow/server.rpt | 3 ++- .../client.rpt | 3 ++- .../server.rpt | 3 ++- .../client.invalid.hpack.index/client.rpt | 3 ++- .../client.invalid.hpack.index/server.rpt | 3 ++- .../client.max.frame.size.error/client.rpt | 3 ++- .../client.max.frame.size.error/server.rpt | 3 ++- .../message.format/client.max.frame.size/client.rpt | 3 ++- .../message.format/client.max.frame.size/server.rpt | 3 ++- .../client.ping.frame.size.error/client.rpt | 3 ++- .../client.ping.frame.size.error/server.rpt | 3 ++- .../client.priority.frame.size.error/client.rpt | 10 ++++++++++ .../client.priority.frame.size.error/server.rpt | 11 +++++++++++ .../client.rst.stream.frame.size.error/client.rpt | 10 ++++++++++ .../client.rst.stream.frame.size.error/server.rpt | 11 +++++++++++ .../client.window.frame.size.error/client.rpt | 3 ++- .../client.window.frame.size.error/server.rpt | 3 ++- .../message.format/connection.headers/client.rpt | 3 ++- .../message.format/connection.headers/server.rpt | 3 ++- .../connection.window.frame.size.error/client.rpt | 3 ++- .../connection.window.frame.size.error/server.rpt | 3 ++- .../message.format/continuation.frames/client.rpt | 3 ++- .../message.format/continuation.frames/server.rpt | 3 ++- .../message.format/dynamic.table.requests/client.rpt | 3 ++- .../message.format/dynamic.table.requests/server.rpt | 3 ++- .../message.format/invalid.hpack.index/client.rpt | 3 ++- .../message.format/invalid.hpack.index/server.rpt | 3 ++- .../message.format/max.frame.size.error/client.rpt | 3 ++- .../message.format/max.frame.size.error/server.rpt | 3 ++- .../max.zilla.data.frame.size/client.rpt | 3 ++- .../max.zilla.data.frame.size/server.rpt | 3 ++- .../message.format/ping.frame.size.error/client.rpt | 3 ++- .../message.format/ping.frame.size.error/server.rpt | 3 ++- .../priority.frame.size.error/client.rpt | 3 ++- .../priority.frame.size.error/server.rpt | 3 ++- .../rst.stream.frame.size.error/client.rpt | 3 ++- .../rst.stream.frame.size.error/server.rpt | 3 ++- .../server.continuation.frames/client.rpt | 10 ++++++++++ .../server.continuation.frames/server.rpt | 11 +++++++++++ .../message.format/server.max.frame.size/client.rpt | 3 ++- .../message.format/server.max.frame.size/server.rpt | 3 ++- .../message.format/stream.id.order/client.rpt | 3 ++- .../message.format/stream.id.order/server.rpt | 3 ++- .../window.frame.size.error/client.rpt | 3 ++- .../window.frame.size.error/server.rpt | 3 ++- .../settings/client.max.frame.size/client.rpt | 3 ++- .../settings/client.max.frame.size/server.rpt | 3 ++- .../settings/max.concurrent.streams/client.rpt | 3 ++- .../settings/max.concurrent.streams/server.rpt | 3 ++- .../rfc7540/settings/max.header.list.size/client.rpt | 3 ++- .../rfc7540/settings/max.header.list.size/server.rpt | 3 ++- .../starting/upgrade.h2c.with.no.tls/client.rpt | 3 ++- .../starting/upgrade.h2c.with.no.tls/server.rpt | 3 ++- .../starting/upgrade.pri.with.no.tls/client.rpt | 3 ++- .../starting/upgrade.pri.with.no.tls/server.rpt | 3 ++- .../upgrade.pri.with.tls.and.alpn.h2/server.rpt | 3 ++- 249 files changed, 721 insertions(+), 225 deletions(-) diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.credentials.cookie/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.credentials.cookie/client.rpt index 45f063ac3d..eb268632e0 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.credentials.cookie/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.credentials.cookie/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.credentials.cookie/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.credentials.cookie/server.rpt index 14000b36b9..40c912145c 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.credentials.cookie/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.credentials.cookie/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.credentials.cached/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.credentials.cached/client.rpt index f594338abd..d27ebefecc 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.credentials.cached/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.credentials.cached/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.credentials.cached/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.credentials.cached/server.rpt index 7821e40aa9..4d60ff34d6 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.credentials.cached/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.credentials.cached/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.credentials/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.credentials/client.rpt index 09433d1766..f6b53b436c 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.credentials/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.credentials/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.credentials/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.credentials/server.rpt index d00f3408ee..e1c7645a09 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.credentials/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.credentials/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.explicit.cached/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.explicit.cached/client.rpt index 299f155141..877603c408 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.explicit.cached/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.explicit.cached/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.explicit.cached/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.explicit.cached/server.rpt index 6ef503a20d..c52921b31e 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.explicit.cached/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.explicit.cached/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.explicit/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.explicit/client.rpt index fa5455ca8e..8fd1f7786a 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.explicit/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.explicit/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.explicit/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.explicit/server.rpt index 58a9a0f659..2587b69d8c 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.explicit/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.explicit/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.wildcard.cached/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.wildcard.cached/client.rpt index 41b3e89d27..1c5f817757 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.wildcard.cached/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.wildcard.cached/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.wildcard.cached/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.wildcard.cached/server.rpt index 820fe84f79..d0bdb60297 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.wildcard.cached/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.wildcard.cached/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.wildcard/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.wildcard/client.rpt index ef932ad312..4f90137c45 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.wildcard/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.wildcard/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.wildcard/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.wildcard/server.rpt index 21ee509e29..967569875b 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.wildcard/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.headers.wildcard/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.credentials.cached/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.credentials.cached/client.rpt index d5a99a3a62..86695fab50 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.credentials.cached/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.credentials.cached/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.credentials.cached/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.credentials.cached/server.rpt index be7109401a..e62f8ed476 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.credentials.cached/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.credentials.cached/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.credentials/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.credentials/client.rpt index 7d6e750e61..c7998c86f6 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.credentials/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.credentials/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.credentials/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.credentials/server.rpt index 3464e1e042..d3841bf6aa 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.credentials/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.credentials/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.explicit.cached/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.explicit.cached/client.rpt index cad0e09295..ba9ec81f13 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.explicit.cached/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.explicit.cached/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.explicit.cached/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.explicit.cached/server.rpt index c59899b74b..df476ea53d 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.explicit.cached/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.explicit.cached/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.explicit/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.explicit/client.rpt index 75f6e65133..39e701531b 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.explicit/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.explicit/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.explicit/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.explicit/server.rpt index fd3a619619..540b6469fa 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.explicit/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.explicit/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.wildcard.cached/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.wildcard.cached/client.rpt index a920690462..1fb97ac444 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.wildcard.cached/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.wildcard.cached/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.wildcard.cached/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.wildcard.cached/server.rpt index 2f2e001a74..19c8cca899 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.wildcard.cached/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.wildcard.cached/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.wildcard/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.wildcard/client.rpt index d01d6ddb3a..eed3180dff 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.wildcard/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.wildcard/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.wildcard/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.wildcard/server.rpt index bb084beb6b..f9a26779fd 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.wildcard/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.methods.wildcard/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.credentials/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.credentials/client.rpt index a86ddebb4b..c7c6716cb6 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.credentials/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.credentials/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.credentials/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.credentials/server.rpt index 607fef9fad..90f4cc113d 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.credentials/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.credentials/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.explicit/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.explicit/client.rpt index 6c867e745d..6a2464a021 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.explicit/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.explicit/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.explicit/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.explicit/server.rpt index 33ad28ce0b..8fb89233d7 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.explicit/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.explicit/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.omitted.cross.origin/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.omitted.cross.origin/client.rpt index 5bf1242e53..79ed41dc9f 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.omitted.cross.origin/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.omitted.cross.origin/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.omitted.cross.origin/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.omitted.cross.origin/server.rpt index e159f94f50..eb0a54fe6c 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.omitted.cross.origin/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.omitted.cross.origin/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.omitted.same.origin/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.omitted.same.origin/client.rpt index b29c689d18..d768e5186b 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.omitted.same.origin/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.omitted.same.origin/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.omitted.same.origin/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.omitted.same.origin/server.rpt index 41b86ae7a6..b2ff9932c2 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.omitted.same.origin/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.omitted.same.origin/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin.implicit.http.port/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin.implicit.http.port/client.rpt index f7e4a82306..b94c31ae7a 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin.implicit.http.port/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin.implicit.http.port/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin.implicit.http.port/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin.implicit.http.port/server.rpt index 2f8ee75be2..9912d4355c 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin.implicit.http.port/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin.implicit.http.port/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin.implicit.https.port/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin.implicit.https.port/client.rpt index 2cca5b580d..e0f82238ff 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin.implicit.https.port/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin.implicit.https.port/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin.implicit.https.port/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin.implicit.https.port/server.rpt index 4a2e3abb64..09a16da145 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin.implicit.https.port/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin.implicit.https.port/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin/client.rpt index 98683b4bac..458c15fa34 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin/server.rpt index 14b4e4971e..40210104df 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.same.origin/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.wildcard/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.wildcard/client.rpt index 4ecb87e9ed..ec0b3690e8 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.wildcard/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.wildcard/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.wildcard/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.wildcard/server.rpt index 3044251fdc..3f0de24042 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.wildcard/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/allow.origin.wildcard/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.credentials/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.credentials/client.rpt index 46a320ef2b..2ec638aade 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.credentials/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.credentials/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.credentials/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.credentials/server.rpt index 16fd54b4a0..29a8eb2b1b 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.credentials/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.credentials/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.explicit/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.explicit/client.rpt index 6b9cb9844b..1c14f82eea 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.explicit/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.explicit/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.explicit/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.explicit/server.rpt index 46475fd72a..cf2aa878dc 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.explicit/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.explicit/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.wildcard/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.wildcard/client.rpt index f68bec138c..0435f8ca2e 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.wildcard/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.wildcard/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.wildcard/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.wildcard/server.rpt index bfd6946fd2..20aa640da2 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.wildcard/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/expose.headers.wildcard/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.header.not.allowed/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.header.not.allowed/client.rpt index abdba11ad8..a89436cb33 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.header.not.allowed/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.header.not.allowed/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.header.not.allowed/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.header.not.allowed/server.rpt index f0a64e4592..67b160fdd5 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.header.not.allowed/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.header.not.allowed/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.method.not.allowed/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.method.not.allowed/client.rpt index 6926c1c4ad..82fdcf7737 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.method.not.allowed/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.method.not.allowed/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.method.not.allowed/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.method.not.allowed/server.rpt index 4f68528c40..b3607b4154 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.method.not.allowed/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.method.not.allowed/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.origin.not.allowed/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.origin.not.allowed/client.rpt index def01a31d0..9489c87c9e 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.origin.not.allowed/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.origin.not.allowed/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.origin.not.allowed/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.origin.not.allowed/server.rpt index 622fa681cd..9a1bbb3105 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.origin.not.allowed/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.origin.not.allowed/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.origin.omitted/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.origin.omitted/client.rpt index b6c332c836..eabd2cdbdf 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.origin.omitted/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.origin.omitted/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.origin.omitted/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.origin.omitted/server.rpt index 829b8b9a19..bd6a45f355 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.origin.omitted/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/access.control/reject.origin.omitted/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.cookie/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.cookie/client.rpt index e603cfefe8..3706356aa4 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.cookie/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.cookie/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.cookie/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.cookie/server.rpt index 3fc014a94a..01f7a8912b 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.cookie/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.cookie/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.header/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.header/client.rpt index e1adc7b7a3..d715d04f35 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.header/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.header/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.header/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.header/server.rpt index a1b45c9e15..d9a6074575 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.header/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.header/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.query/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.query/client.rpt index df0cda9b29..2100f1fb3b 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.query/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.query/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.query/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.query/server.rpt index c2620530ec..080a4acce4 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.query/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/authorize.credentials.query/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.cookie/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.cookie/client.rpt index 7a2b488886..4d2f5387b6 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.cookie/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.cookie/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.cookie/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.cookie/server.rpt index 8d9c956130..5ba521103a 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.cookie/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.cookie/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.header/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.header/client.rpt index 4cbb3f3b42..bd2ae92f37 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.header/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.header/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.header/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.header/server.rpt index 5b1c16d547..973fa30717 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.header/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.header/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.query/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.query/client.rpt index 1a45cc562b..481e509174 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.query/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.query/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.query/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.query/server.rpt index b9ce33008c..784610fe41 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.query/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/challenge.credentials.query/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.cookie/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.cookie/client.rpt index ae8afb96f1..7500e5d75c 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.cookie/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.cookie/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.cookie/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.cookie/server.rpt index 7df9bdb08a..9f1f336257 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.cookie/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.cookie/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.header/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.header/client.rpt index 96f6cd67b5..2d9c22314a 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.header/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.header/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.header/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.header/server.rpt index 850eb875e4..5e0d192647 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.header/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.header/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.query/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.query/client.rpt index e61cf8e459..48e1a5c65c 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.query/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.query/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.query/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.query/server.rpt index 9dbecb3550..fdadd29d55 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.query/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/expire.credentials.query/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.cookie/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.cookie/client.rpt index b3f8c1e314..6ef45a6ea4 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.cookie/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.cookie/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.cookie/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.cookie/server.rpt index 8e179ce798..f5ad64917e 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.cookie/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.cookie/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.header/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.header/client.rpt index 3206410deb..8449e144c2 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.header/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.header/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.header/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.header/server.rpt index cf32c09be7..015c9a778b 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.header/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.header/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.query/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.query/client.rpt index c21bfd8e76..561cd52545 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.query/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.query/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.query/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.query/server.rpt index 470067dc81..d7468c102c 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.query/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reauthorize.credentials.query/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.cookie/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.cookie/client.rpt index a115679b60..dd481be085 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.cookie/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.cookie/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.cookie/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.cookie/server.rpt index d1211ee92f..b383cfa95d 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.cookie/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.cookie/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.header/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.header/client.rpt index c56464c4e2..993a861e5c 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.header/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.header/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.header/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.header/server.rpt index 5e7ee05862..a85dd02156 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.header/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.header/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.missing/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.missing/client.rpt index cd8a9faf01..137850c219 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.missing/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.missing/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.missing/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.missing/server.rpt index c0bc169c43..4ccfcfb51f 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.missing/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.missing/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.query/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.query/client.rpt index f38c8a27f1..735edf3fa7 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.query/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.query/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.query/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.query/server.rpt index cbfb204708..29e0d0bd2c 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.query/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/authorization/reject.credentials.query/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/config/server.header/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/config/server.header/client.rpt index becd8a67a3..069db8f7ea 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/config/server.header/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/config/server.header/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x00] # length = 0 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/config/server.header/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/config/server.header/server.rpt index 7d357305b5..ab4baec1e5 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/config/server.header/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/config/server.header/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/config/user.agent.header/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/config/user.agent.header/client.rpt index 6807830d58..e53bc04c8f 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/config/user.agent.header/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/config/user.agent.header/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/config/user.agent.header/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/config/user.agent.header/server.rpt index 6c6c02e32b..cb2cf7d3fd 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/config/user.agent.header/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/config/user.agent.header/server.rpt @@ -27,13 +27,14 @@ read "PRI * HTTP/2.0\r\n" "\r\n" # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.read.abort.on.open.request.response/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.read.abort.on.open.request.response/client.rpt index 93b050a802..36daa24445 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.read.abort.on.open.request.response/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.read.abort.on.open.request.response/client.rpt @@ -52,13 +52,14 @@ write [0x00 0x00 0x0c] # length = 12 write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true read [0x00 0x00 0x00] # length = 0 [0x04] # HTTP2 SETTINGS frame @@ -85,4 +86,4 @@ read [0..393] read abort -write aborted +write aborted \ No newline at end of file diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.read.abort.on.open.request.response/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.read.abort.on.open.request.response/server.rpt index 9d95b0f0aa..62687074d8 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.read.abort.on.open.request.response/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.read.abort.on.open.request.response/server.rpt @@ -52,13 +52,14 @@ read [0x00 0x00 0x0c] # length = 12 "Hello, world" # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush write [0x00 0x00 0x00] # length = 0 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.rst/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.rst/client.rpt index b85f14857b..b5897e6b5a 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.rst/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.rst/client.rpt @@ -19,13 +19,14 @@ connect "zilla://streams/net0" option zilla:transmission "duplex" connected -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true # client connection preface write "PRI * HTTP/2.0\r\n" diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.rst/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.rst/server.rpt index e111c3bc43..e5266f35cf 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.rst/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.rst/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.write.abort.on.open.request.response/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.write.abort.on.open.request.response/client.rpt index 8cc7c90c72..1fd641bbbe 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.write.abort.on.open.request.response/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.write.abort.on.open.request.response/client.rpt @@ -52,13 +52,14 @@ write [0x00 0x00 0x0c] # length = 12 write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true read [0x00 0x00 0x00] # length = 0 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.write.abort.on.open.request.response/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.write.abort.on.open.request.response/server.rpt index b6b4933cfb..3d0b82de64 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.write.abort.on.open.request.response/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/client.sent.write.abort.on.open.request.response/server.rpt @@ -51,13 +51,14 @@ read [0x00 0x00 0x0c] # length = 12 "Hello, world" # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush write [0x00 0x00 0x00] # length = 0 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.read.abort.on.open.request.response/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.read.abort.on.open.request.response/client.rpt index b9501f4a6e..d3ba0acb7f 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.read.abort.on.open.request.response/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.read.abort.on.open.request.response/client.rpt @@ -44,13 +44,14 @@ write [0x00 0x00 0x13] # length = 19 write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true read [0x00 0x00 0x00] # length = 0 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.read.abort.on.open.request.response/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.read.abort.on.open.request.response/server.rpt index 0a81563668..0a145441ab 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.read.abort.on.open.request.response/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.read.abort.on.open.request.response/server.rpt @@ -44,13 +44,14 @@ read [0x00 0x00 0x13] # length = 19 [0x01] [0x0e] "localhost:8080" # :authority: localhost:8080 # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush write [0x00 0x00 0x00] # length = 0 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.read.abort.on.open.request/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.read.abort.on.open.request/client.rpt index 84de15c7d1..ce33cd8141 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.read.abort.on.open.request/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.read.abort.on.open.request/client.rpt @@ -20,13 +20,14 @@ connect "zilla://streams/net0" connected # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true # client connection preface write "PRI * HTTP/2.0\r\n" diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.read.abort.on.open.request/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.read.abort.on.open.request/server.rpt index b6736b7ff0..e8bdf86667 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.read.abort.on.open.request/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.read.abort.on.open.request/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.write.abort.on.open.request.response/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.write.abort.on.open.request.response/client.rpt index b9501f4a6e..d3ba0acb7f 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.write.abort.on.open.request.response/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.write.abort.on.open.request.response/client.rpt @@ -44,13 +44,14 @@ write [0x00 0x00 0x13] # length = 19 write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true read [0x00 0x00 0x00] # length = 0 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.write.abort.on.open.request.response/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.write.abort.on.open.request.response/server.rpt index 0a81563668..0a145441ab 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.write.abort.on.open.request.response/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.write.abort.on.open.request.response/server.rpt @@ -44,13 +44,14 @@ read [0x00 0x00 0x13] # length = 19 [0x01] [0x0e] "localhost:8080" # :authority: localhost:8080 # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush write [0x00 0x00 0x00] # length = 0 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.write.abort.on.open.response/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.write.abort.on.open.response/client.rpt index 025cfe2277..91b938ae5f 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.write.abort.on.open.response/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.write.abort.on.open.response/client.rpt @@ -20,13 +20,14 @@ connect "zilla://streams/net0" connected # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true # client connection preface write "PRI * HTTP/2.0\r\n" diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.write.abort.on.open.response/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.write.abort.on.open.response/server.rpt index 686edf5a81..02555569af 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.write.abort.on.open.response/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.abort/server.sent.write.abort.on.open.response/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.close.before.response.headers/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.close.before.response.headers/client.rpt index ba7e6eb672..c53308d7aa 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.close.before.response.headers/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.close.before.response.headers/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.close.before.response.headers/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.close.before.response.headers/server.rpt index 0e176b66fd..e014494450 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.close.before.response.headers/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.close.before.response.headers/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.before.response/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.before.response/client.rpt index 6a1a7e6698..188ac12269 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.before.response/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.before.response/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.before.response/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.before.response/server.rpt index eef78a3a31..0f1991f672 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.before.response/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.before.response/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.on.closed.request/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.on.closed.request/client.rpt index 2303c45c10..d0d30093f1 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.on.closed.request/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.on.closed.request/client.rpt @@ -26,6 +26,16 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush +# server connection preface - SETTINGS frame +read [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true + write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.on.closed.request/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.on.closed.request/server.rpt index 5d9ed8a02f..f9f6b9212a 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.on.closed.request/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.on.closed.request/server.rpt @@ -20,6 +20,17 @@ accept "zilla://streams/net0" accepted connected +# server connection preface - SETTINGS frame +write [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true +write flush + # client connection preface read "PRI * HTTP/2.0\r\n" "\r\n" diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.on.open.request/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.on.open.request/client.rpt index ed903d4aec..02ad899440 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.on.open.request/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.on.open.request/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.on.open.request/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.on.open.request/server.rpt index ff0da7c35c..199f0bef4c 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.on.open.request/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.read.abort.on.open.request/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.rst.stream.on.closed.request/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.rst.stream.on.closed.request/client.rpt index 4e4da83dc5..9787b625e2 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.rst.stream.on.closed.request/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.rst.stream.on.closed.request/client.rpt @@ -26,6 +26,16 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush +# server connection preface - SETTINGS frame +read [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true + write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.rst.stream.on.closed.request/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.rst.stream.on.closed.request/server.rpt index a089fa9e08..2b9abd690b 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.rst.stream.on.closed.request/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.rst.stream.on.closed.request/server.rpt @@ -20,6 +20,17 @@ accept "zilla://streams/net0" accepted connected +# server connection preface - SETTINGS frame +write [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true +write flush + # client connection preface read "PRI * HTTP/2.0\r\n" "\r\n" diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.rst.stream.on.open.request.response/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.rst.stream.on.open.request.response/client.rpt index 2de878ee30..1f7e7b8039 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.rst.stream.on.open.request.response/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.rst.stream.on.open.request.response/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.rst.stream.on.open.request.response/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.rst.stream.on.open.request.response/server.rpt index 0c8324b93d..9409fd68f9 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.rst.stream.on.open.request.response/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.rst.stream.on.open.request.response/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.on.closed.request/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.on.closed.request/client.rpt index 3cc31307ca..94a0c16483 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.on.closed.request/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.on.closed.request/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.on.closed.request/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.on.closed.request/server.rpt index d1747184d0..58674d162a 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.on.closed.request/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.on.closed.request/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.on.open.request/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.on.open.request/client.rpt index 4dcdffe9f4..6f51dbb0c8 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.on.open.request/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.on.open.request/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.on.open.request/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.on.open.request/server.rpt index 688a10f71f..269f144a17 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.on.open.request/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.on.open.request/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.then.read.abort.on.open.request/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.then.read.abort.on.open.request/client.rpt index b9b1bd3754..4085e218f0 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.then.read.abort.on.open.request/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.then.read.abort.on.open.request/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.then.read.abort.on.open.request/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.then.read.abort.on.open.request/server.rpt index 077d453a85..ecbbce6be6 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.then.read.abort.on.open.request/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.abort.then.read.abort.on.open.request/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.close/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.close/client.rpt index dcae13c263..d66d5e375e 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.close/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.close/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.close/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.close/server.rpt index d03dfdfb1d..d913e1770d 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.close/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/client.sent.write.close/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/connection.established/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/connection.established/client.rpt index f23adb619b..96b049bcd7 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/connection.established/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/connection.established/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/connection.established/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/connection.established/server.rpt index ccd35cb049..17be4f650c 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/connection.established/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/connection.established/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/connection.has.two.streams/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/connection.has.two.streams/client.rpt index 5b2f1ed763..f919cd6838 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/connection.has.two.streams/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/connection.has.two.streams/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/connection.has.two.streams/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/connection.has.two.streams/server.rpt index 00c905f4b2..e78a6581cd 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/connection.has.two.streams/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/connection.has.two.streams/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.authority.default.port/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.authority.default.port/client.rpt index 35bfc8513b..6ab7390374 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.authority.default.port/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.authority.default.port/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.authority.default.port/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.authority.default.port/server.rpt index 0536891a80..9fb3143987 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.authority.default.port/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.authority.default.port/server.rpt @@ -27,13 +27,14 @@ read "PRI * HTTP/2.0\r\n" "\r\n" # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.get.exchange.with.header.override/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.get.exchange.with.header.override/client.rpt index 5811f2391e..507637b03e 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.get.exchange.with.header.override/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.get.exchange.with.header.override/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x00] # length = 0 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.get.exchange.with.header.override/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.get.exchange.with.header.override/server.rpt index 50f92937f9..cf0a60acba 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.get.exchange.with.header.override/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.get.exchange.with.header.override/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.get.exchange/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.get.exchange/client.rpt index f4e07ba125..baf13d5c13 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.get.exchange/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.get.exchange/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x00] # length = 0 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.get.exchange/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.get.exchange/server.rpt index 76b01d8358..32dae5ce06 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.get.exchange/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.get.exchange/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.path.prefix/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.path.prefix/client.rpt index 66cb250294..057078b152 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.path.prefix/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.path.prefix/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.path.prefix/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.path.prefix/server.rpt index cbcff62675..9c01f7f812 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.path.prefix/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.path.prefix/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.path.with.query/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.path.with.query/client.rpt index a9fcb3a10a..de6b1c6d50 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.path.with.query/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.path.with.query/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.path.with.query/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.path.with.query/server.rpt index 0bf0097686..80aec1c449 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.path.with.query/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.path.with.query/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange.before.settings.exchange/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange.before.settings.exchange/client.rpt index 23c9e04886..07f8e25391 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange.before.settings.exchange/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange.before.settings.exchange/client.rpt @@ -33,13 +33,14 @@ write [0x00 0x00 0x0c] # length = 12 [0x00 0x04 0x00 0x00 0xff 0xff] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 65535 write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true read [0x00 0x00 0x00] # length = 0 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange.before.settings.exchange/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange.before.settings.exchange/server.rpt index 736c994556..3cc90b9b86 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange.before.settings.exchange/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange.before.settings.exchange/server.rpt @@ -33,13 +33,14 @@ read [0x00 0x00 0x0c] # length = 12 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0xff 0xff] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 65535 -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x00] # length = 0 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange.streaming/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange.streaming/client.rpt index 14b9c46281..3ffa4928cc 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange.streaming/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange.streaming/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange.streaming/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange.streaming/server.rpt index 5fa9662609..6d01f368d3 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange.streaming/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange.streaming/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange/client.rpt index f0f3a10511..05ae6b34e8 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange/client.rpt @@ -26,6 +26,16 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush +# server connection preface - SETTINGS frame +read [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true + write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange/server.rpt index f042da4bed..ed10fca5c5 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.post.exchange/server.rpt @@ -20,6 +20,17 @@ accept "zilla://streams/net0" accepted connected +# server connection preface - SETTINGS frame +write [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true +write flush + # client connection preface read "PRI * HTTP/2.0\r\n" "\r\n" diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise.header.override/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise.header.override/client.rpt index 1d19a8cacc..8ba2dca8ef 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise.header.override/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise.header.override/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise.header.override/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise.header.override/server.rpt index acd691f9cc..3a38e0e04d 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise.header.override/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise.header.override/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise.none.cacheable.request/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise.none.cacheable.request/client.rpt index 29dfda604a..67c2894f7b 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise.none.cacheable.request/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise.none.cacheable.request/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise.none.cacheable.request/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise.none.cacheable.request/server.rpt index 73787c36f2..a75dedfa4e 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise.none.cacheable.request/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise.none.cacheable.request/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise/client.rpt index 617f371e85..7b4f9f682f 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise/client.rpt @@ -26,6 +26,16 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush +# server connection preface - SETTINGS frame +read [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true + write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise/server.rpt index be7f22058d..b7861d0a3a 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.push.promise/server.rpt @@ -20,6 +20,17 @@ accept "zilla://streams/net0" accepted connected +# server connection preface - SETTINGS frame +write [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true +write flush + # client connection preface read "PRI * HTTP/2.0\r\n" "\r\n" diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.response.trailer/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.response.trailer/client.rpt index 21a1a758f8..00697c0b88 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.response.trailer/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.response.trailer/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.response.trailer/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.response.trailer/server.rpt index 4b8b4614b9..74b882529c 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.response.trailer/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.response.trailer/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.unknown.authority/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.unknown.authority/client.rpt index d12c115bfb..1070f7c793 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.unknown.authority/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.unknown.authority/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.unknown.authority/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.unknown.authority/server.rpt index cef4e4d6b0..3c7235f1a4 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.unknown.authority/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.unknown.authority/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.unknown.path/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.unknown.path/client.rpt index 3c3b97ae81..ceafe88785 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.unknown.path/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.unknown.path/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.unknown.path/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.unknown.path/server.rpt index eca7747dd1..05a256b7a7 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.unknown.path/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/http.unknown.path/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/ignore.client.rst.stream/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/ignore.client.rst.stream/client.rpt index 7763209cff..9ceed4b752 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/ignore.client.rst.stream/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/ignore.client.rst.stream/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/ignore.client.rst.stream/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/ignore.client.rst.stream/server.rpt index 91f1726878..0ee39991b4 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/ignore.client.rst.stream/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/ignore.client.rst.stream/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/ignore.server.rst.stream/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/ignore.server.rst.stream/client.rpt index fe1bdd51b6..1dac14b239 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/ignore.server.rst.stream/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/ignore.server.rst.stream/client.rpt @@ -26,6 +26,16 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush +# server connection preface - SETTINGS frame +read [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true + write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/ignore.server.rst.stream/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/ignore.server.rst.stream/server.rpt index 3bc21eab12..c194374492 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/ignore.server.rst.stream/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/ignore.server.rst.stream/server.rpt @@ -20,6 +20,17 @@ accept "zilla://streams/net0" accepted connected +# server connection preface - SETTINGS frame +write [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true +write flush + # client connection preface read "PRI * HTTP/2.0\r\n" "\r\n" diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/multiple.data.frames/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/multiple.data.frames/client.rpt index a711b589f9..d86fbd0e7d 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/multiple.data.frames/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/multiple.data.frames/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/multiple.data.frames/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/multiple.data.frames/server.rpt index e1b3817ac1..640e69a52c 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/multiple.data.frames/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/multiple.data.frames/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/push.promise.on.different.stream/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/push.promise.on.different.stream/client.rpt index 23d100daec..38d4e174a3 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/push.promise.on.different.stream/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/push.promise.on.different.stream/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/push.promise.on.different.stream/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/push.promise.on.different.stream/server.rpt index 6533a20dd5..9c93b0d2e2 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/push.promise.on.different.stream/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/push.promise.on.different.stream/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.close.before.response.headers/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.close.before.response.headers/client.rpt index b62620ffbc..ddba5a82a4 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.close.before.response.headers/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.close.before.response.headers/client.rpt @@ -26,6 +26,16 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush +# server connection preface - SETTINGS frame +read [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true + write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.close.before.response.headers/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.close.before.response.headers/server.rpt index bbd417e9c3..927803d64f 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.close.before.response.headers/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.close.before.response.headers/server.rpt @@ -20,6 +20,17 @@ accept "zilla://streams/net0" accepted connected +# server connection preface - SETTINGS frame +write [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true +write flush + # client connection preface read "PRI * HTTP/2.0\r\n" "\r\n" diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.end.stream.before.payload/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.end.stream.before.payload/client.rpt index 333801992e..1ea407e022 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.end.stream.before.payload/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.end.stream.before.payload/client.rpt @@ -25,7 +25,17 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -read [0x00 0x00 0x0c] # length = 12 +# server connection preface - SETTINGS frame +read [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true + +write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.end.stream.before.payload/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.end.stream.before.payload/server.rpt index cd667b725b..3e71db059c 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.end.stream.before.payload/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.end.stream.before.payload/server.rpt @@ -20,6 +20,17 @@ accept "zilla://streams/net0" accepted connected +# server connection preface - SETTINGS frame +write [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true +write flush + # client connection preface read "PRI * HTTP/2.0\r\n" "\r\n" diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.read.abort.before.response/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.read.abort.before.response/client.rpt index 6c164ddedb..5a3600f56a 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.read.abort.before.response/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.read.abort.before.response/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.read.abort.before.response/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.read.abort.before.response/server.rpt index f149a60a35..4e9629fbdd 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.read.abort.before.response/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.read.abort.before.response/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.read.abort.on.open.request/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.read.abort.on.open.request/client.rpt index e768c43639..ed24d68ea5 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.read.abort.on.open.request/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.read.abort.on.open.request/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.read.abort.on.open.request/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.read.abort.on.open.request/server.rpt index 666cad8f91..cf0a9ef22b 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.read.abort.on.open.request/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.read.abort.on.open.request/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.abort.on.closed.request/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.abort.on.closed.request/client.rpt index dd3bd9d6e4..b88dd4d51c 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.abort.on.closed.request/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.abort.on.closed.request/client.rpt @@ -26,6 +26,16 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush +# server connection preface - SETTINGS frame +read [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true + write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.abort.on.closed.request/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.abort.on.closed.request/server.rpt index eda59c5ad1..8047fd8769 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.abort.on.closed.request/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.abort.on.closed.request/server.rpt @@ -20,6 +20,17 @@ accept "zilla://streams/net0" accepted connected +# server connection preface - SETTINGS frame +write [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true +write flush + # client connection preface read "PRI * HTTP/2.0\r\n" "\r\n" diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.abort.on.open.request/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.abort.on.open.request/client.rpt index 863d623632..f333e95797 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.abort.on.open.request/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.abort.on.open.request/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.abort.on.open.request/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.abort.on.open.request/server.rpt index e5a255c64b..e742259a9e 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.abort.on.open.request/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.abort.on.open.request/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.close/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.close/client.rpt index 75b6d84932..3f7b50c12e 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.close/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.close/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.close/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.close/server.rpt index 8f37a1aa02..5e0828bd9d 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.close/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/server.sent.write.close/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/streams.on.same.connection/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/streams.on.same.connection/client.rpt index dc60451ff1..aa3ac813cb 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/streams.on.same.connection/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/streams.on.same.connection/client.rpt @@ -26,6 +26,16 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush +# server connection preface - SETTINGS frame +read [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true + write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/streams.on.same.connection/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/streams.on.same.connection/server.rpt index 1e633b1359..da53fe19d6 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/streams.on.same.connection/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/connection.management/streams.on.same.connection/server.rpt @@ -20,6 +20,17 @@ accept "zilla://streams/net0" accepted connected +# server connection preface - SETTINGS frame +write [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true +write flush + # client connection preface read "PRI * HTTP/2.0\r\n" "\r\n" diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.rst.stream.last.frame/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.rst.stream.last.frame/client.rpt index fab6b431f5..db768e66d7 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.rst.stream.last.frame/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.rst.stream.last.frame/client.rpt @@ -20,13 +20,14 @@ connect "zilla://streams/net0" connected # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true # client connection preface write "PRI * HTTP/2.0\r\n" diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.rst.stream.last.frame/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.rst.stream.last.frame/server.rpt index 34ab1e8f5e..00f8cfe536 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.rst.stream.last.frame/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.rst.stream.last.frame/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.sent.100k.message/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.sent.100k.message/client.rpt index e0bd1ba37d..9919d381f0 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.sent.100k.message/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.sent.100k.message/client.rpt @@ -33,13 +33,14 @@ write [0x00 0x00 0x0c] # length = 12 [0x00 0x04 0x00 0x00 0xff 0xff] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 65535 write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true read [0x00 0x00 0x00] # length = 0 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.sent.100k.message/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.sent.100k.message/server.rpt index 35e11fd089..c96f93cd58 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.sent.100k.message/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.sent.100k.message/server.rpt @@ -33,13 +33,14 @@ read [0x00 0x00 0x0c] # length = 12 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0xff 0xff] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 65535 -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x00] # length = 0 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.stream.flow/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.stream.flow/client.rpt index 747974b5f5..e89749e501 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.stream.flow/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.stream.flow/client.rpt @@ -19,6 +19,16 @@ connect "zilla://streams/net0" option zilla:transmission "duplex" connected +# server connection preface - SETTINGS frame +read [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true + # client connection preface write "PRI * HTTP/2.0\r\n" "\r\n" diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.stream.flow/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.stream.flow/server.rpt index 97460f361f..2a99778e47 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.stream.flow/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/client.stream.flow/server.rpt @@ -20,6 +20,17 @@ accept "zilla://streams/net0" accepted connected +# server connection preface - SETTINGS frame +write [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true +write flush + # client connection preface read "PRI * HTTP/2.0\r\n" "\r\n" diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.rst.stream.last.frame/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.rst.stream.last.frame/client.rpt index e02fbd1fa1..ee821cc424 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.rst.stream.last.frame/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.rst.stream.last.frame/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.rst.stream.last.frame/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.rst.stream.last.frame/server.rpt index 4d777e80a6..2b90a8484d 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.rst.stream.last.frame/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.rst.stream.last.frame/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.sent.100k.message/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.sent.100k.message/client.rpt index 874903bed1..5a5878da36 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.sent.100k.message/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.sent.100k.message/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.sent.100k.message/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.sent.100k.message/server.rpt index b617fde051..30d4828bcd 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.sent.100k.message/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.sent.100k.message/server.rpt @@ -25,13 +25,14 @@ read "PRI * HTTP/2.0\r\n" "SM\r\n" "\r\n" -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.stream.flow/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.stream.flow/client.rpt index 946ff13974..d73f34e306 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.stream.flow/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.stream.flow/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.stream.flow/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.stream.flow/server.rpt index 87dd560aef..6a2b02fa3f 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.stream.flow/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/flow.control/server.stream.flow/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.connection.window.frame.size.error/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.connection.window.frame.size.error/client.rpt index 50c7af8dd4..1125164910 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.connection.window.frame.size.error/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.connection.window.frame.size.error/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.connection.window.frame.size.error/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.connection.window.frame.size.error/server.rpt index d6b53aa0b1..2c040337e3 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.connection.window.frame.size.error/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.connection.window.frame.size.error/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.invalid.hpack.index/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.invalid.hpack.index/client.rpt index 0235e8e1fd..fcc2e464ed 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.invalid.hpack.index/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.invalid.hpack.index/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.invalid.hpack.index/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.invalid.hpack.index/server.rpt index 092ddde28d..663b22fab2 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.invalid.hpack.index/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.invalid.hpack.index/server.rpt @@ -30,13 +30,14 @@ read "PRI * HTTP/2.0\r\n" "\r\n" # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.max.frame.size.error/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.max.frame.size.error/client.rpt index a716472c95..7786e9d961 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.max.frame.size.error/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.max.frame.size.error/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.max.frame.size.error/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.max.frame.size.error/server.rpt index 72cbbe30b2..ba6ee5e47c 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.max.frame.size.error/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.max.frame.size.error/server.rpt @@ -20,13 +20,14 @@ accept "zilla://streams/net0" accepted connected -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read "PRI * HTTP/2.0\r\n" diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.max.frame.size/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.max.frame.size/client.rpt index 4d9d138564..afb8b69738 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.max.frame.size/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.max.frame.size/client.rpt @@ -23,13 +23,14 @@ connected # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0xff 0xff] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 65535 [0x00 0x05 0x00 0x00 0x4e 0x20] # SETTINGS_MAX_FRAME_SIZE(0x05) = 20000 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true # client connection preface write "PRI * HTTP/2.0\r\n" diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.max.frame.size/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.max.frame.size/server.rpt index 7375544cf2..29dd885bcd 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.max.frame.size/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.max.frame.size/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0xff 0xff] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 65535 [0x00 0x05 0x00 0x00 0x4e 0x20] # SETTINGS_MAX_FRAME_SIZE(0x05) = 20000 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.ping.frame.size.error/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.ping.frame.size.error/client.rpt index 6981ef10d3..3c374dfc67 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.ping.frame.size.error/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.ping.frame.size.error/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.ping.frame.size.error/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.ping.frame.size.error/server.rpt index 45440926fc..35220f4776 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.ping.frame.size.error/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.ping.frame.size.error/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.priority.frame.size.error/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.priority.frame.size.error/client.rpt index be93ac5a54..e1b74660f8 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.priority.frame.size.error/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.priority.frame.size.error/client.rpt @@ -26,6 +26,16 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush +# server connection preface - SETTINGS frame +read [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true + write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.priority.frame.size.error/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.priority.frame.size.error/server.rpt index 92fa925500..4ff4c84bd0 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.priority.frame.size.error/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.priority.frame.size.error/server.rpt @@ -20,6 +20,17 @@ accept "zilla://streams/net0" accepted connected +# server connection preface - SETTINGS frame +write [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true +write flush + # client connection preface read "PRI * HTTP/2.0\r\n" "\r\n" diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.rst.stream.frame.size.error/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.rst.stream.frame.size.error/client.rpt index be93ac5a54..e1b74660f8 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.rst.stream.frame.size.error/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.rst.stream.frame.size.error/client.rpt @@ -26,6 +26,16 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush +# server connection preface - SETTINGS frame +read [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true + write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.rst.stream.frame.size.error/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.rst.stream.frame.size.error/server.rpt index 5f9eec64fd..d3a1074be7 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.rst.stream.frame.size.error/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.rst.stream.frame.size.error/server.rpt @@ -20,6 +20,17 @@ accept "zilla://streams/net0" accepted connected +# server connection preface - SETTINGS frame +write [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true +write flush + # client connection preface read "PRI * HTTP/2.0\r\n" "\r\n" diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.window.frame.size.error/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.window.frame.size.error/client.rpt index b7b515dbe2..31ff5b831a 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.window.frame.size.error/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.window.frame.size.error/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.window.frame.size.error/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.window.frame.size.error/server.rpt index 0457307e9e..23172793e5 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.window.frame.size.error/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/client.window.frame.size.error/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/connection.headers/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/connection.headers/client.rpt index 5cb92b7489..9864a679e1 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/connection.headers/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/connection.headers/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/connection.headers/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/connection.headers/server.rpt index 22f73190c3..2d1d12e979 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/connection.headers/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/connection.headers/server.rpt @@ -30,13 +30,14 @@ read "PRI * HTTP/2.0\r\n" "\r\n" # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/connection.window.frame.size.error/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/connection.window.frame.size.error/client.rpt index ff1ba75f0a..beaedf0057 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/connection.window.frame.size.error/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/connection.window.frame.size.error/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/connection.window.frame.size.error/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/connection.window.frame.size.error/server.rpt index 30b2252dd1..47e059d051 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/connection.window.frame.size.error/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/connection.window.frame.size.error/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/continuation.frames/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/continuation.frames/client.rpt index e8f44f1bba..da5e4a3aee 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/continuation.frames/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/continuation.frames/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/continuation.frames/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/continuation.frames/server.rpt index 77e9cada4f..97d17710a1 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/continuation.frames/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/continuation.frames/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/dynamic.table.requests/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/dynamic.table.requests/client.rpt index 954d5edf96..104bd6d39a 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/dynamic.table.requests/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/dynamic.table.requests/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/dynamic.table.requests/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/dynamic.table.requests/server.rpt index 613e514895..5b87c49ecd 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/dynamic.table.requests/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/dynamic.table.requests/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/invalid.hpack.index/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/invalid.hpack.index/client.rpt index b12e53830f..e6c2e5a3d3 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/invalid.hpack.index/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/invalid.hpack.index/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/invalid.hpack.index/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/invalid.hpack.index/server.rpt index 5cfe4ebf96..15fd341a59 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/invalid.hpack.index/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/invalid.hpack.index/server.rpt @@ -30,13 +30,14 @@ read "PRI * HTTP/2.0\r\n" "\r\n" # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/max.frame.size.error/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/max.frame.size.error/client.rpt index 0dc8492d48..88a6c27880 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/max.frame.size.error/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/max.frame.size.error/client.rpt @@ -25,13 +25,14 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/max.frame.size.error/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/max.frame.size.error/server.rpt index e8ea6ba4c0..fcccf04c9d 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/max.frame.size.error/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/max.frame.size.error/server.rpt @@ -20,13 +20,14 @@ accept "zilla://streams/net0" accepted connected -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read "PRI * HTTP/2.0\r\n" diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/max.zilla.data.frame.size/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/max.zilla.data.frame.size/client.rpt index 6d4c3ea67a..5c8ac00505 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/max.zilla.data.frame.size/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/max.zilla.data.frame.size/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/max.zilla.data.frame.size/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/max.zilla.data.frame.size/server.rpt index 6c6eceb806..64878eca8f 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/max.zilla.data.frame.size/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/max.zilla.data.frame.size/server.rpt @@ -29,13 +29,14 @@ read "PRI * HTTP/2.0\r\n" "\r\n" # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x0c] # length = 12 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/ping.frame.size.error/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/ping.frame.size.error/client.rpt index 65996f197f..626daa27ad 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/ping.frame.size.error/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/ping.frame.size.error/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/ping.frame.size.error/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/ping.frame.size.error/server.rpt index d21e6d98a1..5ccc4ea21d 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/ping.frame.size.error/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/ping.frame.size.error/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/priority.frame.size.error/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/priority.frame.size.error/client.rpt index 841dce3de4..eeb1f74f36 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/priority.frame.size.error/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/priority.frame.size.error/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/priority.frame.size.error/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/priority.frame.size.error/server.rpt index 6e46e5b10f..a36c86bbfa 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/priority.frame.size.error/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/priority.frame.size.error/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/rst.stream.frame.size.error/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/rst.stream.frame.size.error/client.rpt index f2e7bddb88..b35c084a55 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/rst.stream.frame.size.error/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/rst.stream.frame.size.error/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/rst.stream.frame.size.error/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/rst.stream.frame.size.error/server.rpt index 82366d50de..4af1530cfc 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/rst.stream.frame.size.error/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/rst.stream.frame.size.error/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/server.continuation.frames/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/server.continuation.frames/client.rpt index b62a56def3..6400cd31f0 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/server.continuation.frames/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/server.continuation.frames/client.rpt @@ -26,6 +26,16 @@ write "PRI * HTTP/2.0\r\n" "\r\n" write flush +# server connection preface - SETTINGS frame +read [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true + write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/server.continuation.frames/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/server.continuation.frames/server.rpt index b4a74f9ca2..b907bf882c 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/server.continuation.frames/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/server.continuation.frames/server.rpt @@ -20,6 +20,17 @@ accept "zilla://streams/net0" accepted connected +# server connection preface - SETTINGS frame +write [0x00 0x00 0x18] # length = 24 + [0x04] # HTTP2 SETTINGS frame + [0x00] # flags = 0x00 + [0x00 0x00 0x00 0x00] # stream_id = 0 + [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 + [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 + [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true +write flush + # client connection preface read "PRI * HTTP/2.0\r\n" "\r\n" diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/server.max.frame.size/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/server.max.frame.size/client.rpt index 3542283afa..9a5354787f 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/server.max.frame.size/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/server.max.frame.size/client.rpt @@ -28,13 +28,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x12] # length = 18 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/server.max.frame.size/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/server.max.frame.size/server.rpt index ece45185cb..eca8144b78 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/server.max.frame.size/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/server.max.frame.size/server.rpt @@ -29,13 +29,14 @@ read "PRI * HTTP/2.0\r\n" "\r\n" # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush read [0x00 0x00 0x12] # length = 18 diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/stream.id.order/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/stream.id.order/client.rpt index b6632b6cf6..4ce8142a2c 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/stream.id.order/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/stream.id.order/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/stream.id.order/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/stream.id.order/server.rpt index 95f180f0c6..e26af171b0 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/stream.id.order/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/stream.id.order/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/window.frame.size.error/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/window.frame.size.error/client.rpt index 7597d30218..4aeb440c15 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/window.frame.size.error/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/window.frame.size.error/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/window.frame.size.error/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/window.frame.size.error/server.rpt index f115874dfa..bd8a917645 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/window.frame.size.error/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/message.format/window.frame.size.error/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/client.max.frame.size/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/client.max.frame.size/client.rpt index d1d4166132..4b209b07ba 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/client.max.frame.size/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/client.max.frame.size/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x7f 0xff 0xff 0xff] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 2147483647 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x10 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/client.max.frame.size/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/client.max.frame.size/server.rpt index 510f15600c..97c3c3b359 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/client.max.frame.size/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/client.max.frame.size/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x7f 0xff 0xff 0xff] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 2147483647 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/max.concurrent.streams/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/max.concurrent.streams/client.rpt index a9fbd40bfe..bb3c7034b4 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/max.concurrent.streams/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/max.concurrent.streams/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0xfa] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 250 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/max.concurrent.streams/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/max.concurrent.streams/server.rpt index 57e76ddcac..38b120fa86 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/max.concurrent.streams/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/max.concurrent.streams/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0xfa] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 250 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/max.header.list.size/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/max.header.list.size/client.rpt index 4fe344ab6d..9a610c1801 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/max.header.list.size/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/max.header.list.size/client.rpt @@ -27,13 +27,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x7f 0xff 0xff 0xff] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 2147483647 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x10 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 4096 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/max.header.list.size/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/max.header.list.size/server.rpt index 4712c93da6..be683887f3 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/max.header.list.size/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/settings/max.header.list.size/server.rpt @@ -21,13 +21,14 @@ accepted connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x7f 0xff 0xff 0xff] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 2147483647 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x10 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 4096 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/starting/upgrade.h2c.with.no.tls/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/starting/upgrade.h2c.with.no.tls/client.rpt index 2622ffe788..0dcb566dba 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/starting/upgrade.h2c.with.no.tls/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/starting/upgrade.h2c.with.no.tls/client.rpt @@ -36,13 +36,14 @@ read "HTTP/1.1 101 Switching Protocols\r\n" "\r\n" # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true read [0x00 0x00 0x00] # length = 0 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/starting/upgrade.h2c.with.no.tls/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/starting/upgrade.h2c.with.no.tls/server.rpt index 44c0277d0f..301d782a9c 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/starting/upgrade.h2c.with.no.tls/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/starting/upgrade.h2c.with.no.tls/server.rpt @@ -37,13 +37,14 @@ write "HTTP/1.1 101 Switching Protocols\r\n" "\r\n" # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/starting/upgrade.pri.with.no.tls/client.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/starting/upgrade.pri.with.no.tls/client.rpt index 9d21434b3b..8dd6465d5e 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/starting/upgrade.pri.with.no.tls/client.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/starting/upgrade.pri.with.no.tls/client.rpt @@ -34,13 +34,14 @@ write "PRI * HTTP/2.0\r\n" write flush # server connection preface - SETTINGS frame -read [0x00 0x00 0x12] # length = 18 +read [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x04) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write [0x00 0x00 0x0c] # length = 12 [0x04] # HTTP2 SETTINGS frame diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/starting/upgrade.pri.with.no.tls/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/starting/upgrade.pri.with.no.tls/server.rpt index 0ef7bfd976..bc0aab5ede 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/starting/upgrade.pri.with.no.tls/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/starting/upgrade.pri.with.no.tls/server.rpt @@ -26,13 +26,14 @@ read zilla:begin.ext ${proxy:matchBeginEx() connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface diff --git a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/starting/upgrade.pri.with.tls.and.alpn.h2/server.rpt b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/starting/upgrade.pri.with.tls.and.alpn.h2/server.rpt index f2f2aea577..c9697a37f3 100644 --- a/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/starting/upgrade.pri.with.tls.and.alpn.h2/server.rpt +++ b/specs/binding-http.spec/src/main/scripts/io/aklivity/zilla/specs/binding/http/streams/network/rfc7540/starting/upgrade.pri.with.tls.and.alpn.h2/server.rpt @@ -35,13 +35,14 @@ write zilla:begin.ext ${proxy:beginEx() connected # server connection preface - SETTINGS frame -write [0x00 0x00 0x12] # length = 18 +write [0x00 0x00 0x18] # length = 24 [0x04] # HTTP2 SETTINGS frame [0x00] # flags = 0x00 [0x00 0x00 0x00 0x00] # stream_id = 0 [0x00 0x03 0x00 0x00 0x00 0x64] # SETTINGS_MAX_CONCURRENT_STREAMS(0x03) = 100 [0x00 0x04 0x00 0x00 0x00 0x00] # SETTINGS_INITIAL_WINDOW_SIZE(0x03) = 0 [0x00 0x06 0x00 0x00 0x20 0x00] # SETTINGS_MAX_HEADER_LIST_SIZE(0x06) = 8192 + [0x00 0x08 0x00 0x00 0x00 0x01] # SETTINGS_ENABLE_CONNECT_PROTOCOL(0x08) = true write flush # client connection preface From d026b3cc93de9da7a36b7bbf117a736aa7c454bc Mon Sep 17 00:00:00 2001 From: Mustafa Munjid Date: Thu, 1 Jun 2023 18:07:12 +1000 Subject: [PATCH 10/12] Refactor WsServer. squash --- .../ws/internal/config/HttpVersion.java | 35 ---- .../ws/internal/stream/WsServerFactory.java | 186 +++++++++++------- .../application/rfc8441/data.response.rpt | 39 ---- .../{rfc8441 => }/server/WsOverHttp2IT.java | 6 +- .../ws.over.h2}/data.request.rpt | 3 - .../ws.over.h2/data.response.rpt} | 4 + .../ws.over.h2}/opening.request.rpt | 0 .../ws.over.h2}/opening.response.rpt | 0 .../network/ws.over.h2}/data.request.rpt | 0 .../ws.over.h2}/data.response.rpt | 8 +- .../network/ws.over.h2}/opening.request.rpt | 0 .../ws.over.h2}/opening.response.rpt | 0 .../rfc8441/application/data.response.rpt | 39 ---- .../streams/rfc8441/network/data.request.rpt | 50 ----- .../rfc8441/network/opening.request.rpt | 42 ---- .../application/WsOverHttp2IT.java | 4 +- .../{rfc8441 => }/network/WsOverHttp2IT.java | 4 +- 17 files changed, 128 insertions(+), 292 deletions(-) delete mode 100644 runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/config/HttpVersion.java delete mode 100644 runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441/data.response.rpt rename runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/{rfc8441 => }/server/WsOverHttp2IT.java (94%) rename specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/{rfc8441/application => application/ws.over.h2}/data.request.rpt (92%) rename specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/{rfc8441/application/opening.response.rpt => application/ws.over.h2/data.response.rpt} (95%) rename specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/{rfc8441/application => application/ws.over.h2}/opening.request.rpt (100%) rename {runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441 => specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2}/opening.response.rpt (100%) rename {runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441 => specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2}/data.request.rpt (100%) rename specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/{rfc8441/network => network/ws.over.h2}/data.response.rpt (91%) rename {runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441 => specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2}/opening.request.rpt (100%) rename specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/{rfc8441/network => network/ws.over.h2}/opening.response.rpt (100%) delete mode 100644 specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.response.rpt delete mode 100644 specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.request.rpt delete mode 100644 specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.request.rpt rename specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/{rfc8441 => }/application/WsOverHttp2IT.java (94%) rename specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/{rfc8441 => }/network/WsOverHttp2IT.java (94%) diff --git a/runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/config/HttpVersion.java b/runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/config/HttpVersion.java deleted file mode 100644 index 2de1b4f21b..0000000000 --- a/runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/config/HttpVersion.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright 2021-2023 Aklivity Inc. - * - * Aklivity licenses this file to you under the Apache License, - * version 2.0 (the "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at: - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - */ -package io.aklivity.zilla.runtime.binding.ws.internal.config; - -public enum HttpVersion -{ - HTTP_1_1("http/1.1"), - HTTP_2("h2"); - - private final String name; - - HttpVersion( - String name) - { - this.name = name; - } - - public String asString() - { - return name; - } -} diff --git a/runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/stream/WsServerFactory.java b/runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/stream/WsServerFactory.java index 8e58adbddb..334c518af5 100644 --- a/runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/stream/WsServerFactory.java +++ b/runtime/binding-ws/src/main/java/io/aklivity/zilla/runtime/binding/ws/internal/stream/WsServerFactory.java @@ -42,7 +42,6 @@ import io.aklivity.zilla.runtime.binding.ws.internal.WsBinding; import io.aklivity.zilla.runtime.binding.ws.internal.WsConfiguration; -import io.aklivity.zilla.runtime.binding.ws.internal.config.HttpVersion; import io.aklivity.zilla.runtime.binding.ws.internal.config.WsBindingConfig; import io.aklivity.zilla.runtime.binding.ws.internal.config.WsRouteConfig; import io.aklivity.zilla.runtime.binding.ws.internal.types.Array32FW; @@ -208,90 +207,141 @@ public MessageConsumer newStream( // TODO: need lightweight approach (end) MessageConsumer newStream = null; + WsBindingConfig binding = bindings.get(routedId); - if (METHOD_NAME_GET.equals(method) && upgrade != null || METHOD_NAME_CONNECT.equals(method) && protocol != null) + if (upgrade == null && protocol == null) { - WsBindingConfig binding = bindings.get(routedId); + final long newReplyId = supplyReplyId.applyAsLong(initialId); + doHttpBeginInternal(sender, originId, routedId, newReplyId, 0L, 0L, 0, traceId, authorization, affinity, + hs -> hs.item(h -> h.name(":status").value("400")) + .item(h -> h.name("connection").value("close"))); + doHttpEnd(sender, originId, routedId, newReplyId, traceId); + newStream = (t, b, o, l) -> {}; + } + else + { + WsRouteConfig route = null; + String subprotocol = null; - if (binding != null) + for (int i = 0; i < (subprotocols != null ? subprotocols.length : 1); i++) { - WsRouteConfig route = null; - String subprotocol = null; - - for (int i = 0; i < (subprotocols != null ? subprotocols.length : 1); i++) { - String newProtocol = subprotocols != null ? subprotocols[i] : null; - WsRouteConfig newRoute = binding.resolve(authorization, newProtocol, scheme, authority, path); + String newProtocol = subprotocols != null ? subprotocols[i] : null; + WsRouteConfig newRoute = binding.resolve(authorization, newProtocol, scheme, authority, path); - if (newRoute != null && (route == null || newRoute.order < route.order)) - { - route = newRoute; - subprotocol = newProtocol; - } + if (newRoute != null && (route == null || newRoute.order < route.order)) + { + route = newRoute; + subprotocol = newProtocol; } + } - if (route != null && WEBSOCKET_VERSION_13.equals(version)) + if (route != null && WEBSOCKET_VERSION_13.equals(version)) + { + if (METHOD_NAME_GET.equals(method) && WEBSOCKET_UPGRADE.equalsIgnoreCase(upgrade)) { final String key = headers.get("sec-websocket-key"); - if (key != null && - WEBSOCKET_UPGRADE.equalsIgnoreCase(upgrade)) + if (key != null) { - // HTTP1.1 handshake - newStream = new WsServer( - sender, - originId, - routedId, - initialId, - route.id, - HttpVersion.HTTP_1_1, - key, - subprotocol, - scheme, - authority, - path)::onNetMessage; + newStream = new Ws11Server( + sender, + originId, + routedId, + initialId, + route.id, + key, + subprotocol, + scheme, + authority, + path)::onNetMessage; } - else if (WEBSOCKET_PROTOCOL.equalsIgnoreCase(protocol)) - { - // HTTP2 handshake - newStream = new WsServer( + } + else if (METHOD_NAME_CONNECT.equals(method) && WEBSOCKET_PROTOCOL.equalsIgnoreCase(protocol)) + { + newStream = new Ws2Server( sender, originId, routedId, initialId, route.id, - HttpVersion.HTTP_2, - null, subprotocol, scheme, authority, path)::onNetMessage; - } } } + } + + return newStream; + } + + private final class Ws11Server extends WsServer + { + private final String key; + + private Ws11Server( + MessageConsumer receiver, + long originId, + long routedId, + long initialId, + long resolvedId, + String key, + String subprotocol, + String scheme, + String authority, + String path) + { + super(receiver, originId, routedId, initialId, resolvedId, subprotocol, scheme, authority, path); + this.key = key; + } + + protected void doNetBegin( + long traceId, + long authorization, + long affinity) + { + sha1.reset(); + sha1.update(key.getBytes(US_ASCII)); + final byte[] digest = sha1.digest(HANDSHAKE_GUID); + final Encoder encoder = Base64.getEncoder(); + final String handshakeHash = new String(encoder.encode(digest), US_ASCII); + doHttpBegin(traceId, authorization, affinity, setHttp11Headers(handshakeHash, subprotocol)); } - else + } + + private final class Ws2Server extends WsServer + { + private Ws2Server( + MessageConsumer receiver, + long originId, + long routedId, + long initialId, + long resolvedId, + String subprotocol, + String scheme, + String authority, + String path) { - final long newReplyId = supplyReplyId.applyAsLong(initialId); - doHttpBegin(sender, originId, routedId, newReplyId, 0L, 0L, 0, traceId, authorization, affinity, - hs -> hs.item(h -> h.name(":status").value("400")) - .item(h -> h.name("connection").value("close"))); - doHttpEnd(sender, originId, routedId, newReplyId, traceId); - newStream = (t, b, o, l) -> {}; + super(receiver, originId, routedId, initialId, resolvedId, subprotocol, scheme, authority, path); } - return newStream; + protected void doNetBegin( + long traceId, + long authorization, + long affinity) + { + doHttpBegin(traceId, authorization, affinity, setHttp2Headers(subprotocol)); + } } - private final class WsServer + private abstract class WsServer { private final MessageConsumer receiver; private final long originId; private final long routedId; private final long initialId; private final long replyId; - private final HttpVersion httpVersion; - private final String key; - private final String subprotocol; + protected final String subprotocol; private final String scheme; private final String authority; private final String path; @@ -331,8 +381,6 @@ private WsServer( long routedId, long initialId, long resolvedId, - HttpVersion httpVersion, - String key, String subprotocol, String scheme, String authority, @@ -343,8 +391,6 @@ private WsServer( this.routedId = routedId; this.initialId = initialId; this.replyId = supplyReplyId.applyAsLong(initialId); - this.httpVersion = httpVersion; - this.key = key; this.subprotocol = subprotocol; this.scheme = scheme; this.authority = authority; @@ -357,27 +403,19 @@ private WsServer( this.stream = new WsStream(routedId, resolvedId); } - private void doNetBegin( + protected abstract void doNetBegin( long traceId, long authorization, - long affinity) + long affinity); + + protected void doHttpBegin( + long traceId, + long authorization, + long affinity, + Consumer> mutator) { - if (httpVersion == HttpVersion.HTTP_1_1) - { - sha1.reset(); - sha1.update(key.getBytes(US_ASCII)); - final byte[] digest = sha1.digest(HANDSHAKE_GUID); - final Encoder encoder = Base64.getEncoder(); - final String handshakeHash = new String(encoder.encode(digest), US_ASCII); - - doHttpBegin(receiver, originId, routedId, replyId, replySeq, replyAck, replyMax, traceId, authorization, affinity, - setHttp11Headers(handshakeHash, subprotocol)); - } - else if (httpVersion == HttpVersion.HTTP_2) - { - doHttpBegin(receiver, originId, routedId, replyId, replySeq, replyAck, replyMax, traceId, authorization, affinity, - setHttp2Headers(subprotocol)); - } + doHttpBeginInternal(receiver, originId, routedId, replyId, replySeq, replyAck, replyMax, traceId, + authorization, affinity, mutator); } private void doNetData( @@ -541,7 +579,7 @@ private void doNetWindow( } } - private void onNetMessage( + protected void onNetMessage( int msgTypeId, DirectBuffer buffer, int index, @@ -1479,7 +1517,7 @@ private void onAppChallenge( } } - private void doHttpBegin( + private void doHttpBeginInternal( MessageConsumer receiver, long originId, long routedId, diff --git a/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441/data.response.rpt b/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441/data.response.rpt deleted file mode 100644 index 2f65ebdca0..0000000000 --- a/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441/data.response.rpt +++ /dev/null @@ -1,39 +0,0 @@ -# -# Copyright 2021-2023 Aklivity Inc. -# -# Aklivity licenses this file to you under the Apache License, -# version 2.0 (the "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -# - -accept "zilla://streams/app0" - option zilla:window 8192 - option zilla:transmission "duplex" -accepted - -read zilla:begin.ext ${ws:beginEx() - .typeId(zilla:id("ws")) - .protocol("chat") - .scheme("http") - .authority("localhost:8080") - .path("/chat") - .build()} - -connected - -# connection established - -read [0x81 0xfd] ([0..4] :readMask) -read option mask ${readMask} -read ([0..125] :server125) -read option mask [0x00 0x00 0x00 0x00] - -write ${server125} diff --git a/runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/rfc8441/server/WsOverHttp2IT.java b/runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/server/WsOverHttp2IT.java similarity index 94% rename from runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/rfc8441/server/WsOverHttp2IT.java rename to runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/server/WsOverHttp2IT.java index e7e0946699..8c1942046f 100644 --- a/runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/rfc8441/server/WsOverHttp2IT.java +++ b/runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/server/WsOverHttp2IT.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations * under the License. */ -package io.aklivity.zilla.runtime.binding.ws.internal.streams.rfc8441.server; +package io.aklivity.zilla.runtime.binding.ws.internal.streams.server; import static java.util.concurrent.TimeUnit.SECONDS; import static org.junit.rules.RuleChain.outerRule; @@ -32,8 +32,8 @@ public class WsOverHttp2IT { private final K3poRule k3po = new K3poRule() - .addScriptRoot("net", "io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network") - .addScriptRoot("app", "io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application"); + .addScriptRoot("net", "io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2") + .addScriptRoot("app", "io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2"); private final TestRule timeout = new DisableOnDebug(new Timeout(10, SECONDS)); diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.request.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/data.request.rpt similarity index 92% rename from specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.request.rpt rename to specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/data.request.rpt index 6ef7a896a4..3b3df2ed7d 100644 --- a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.request.rpt +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/data.request.rpt @@ -33,9 +33,6 @@ connected # connection established -write [0x81 0xfd] ${writeMask} -write option mask ${writeMask} write ${client125} -write option mask [0x00 0x00 0x00 0x00] read ${client125} diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/opening.response.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/data.response.rpt similarity index 95% rename from specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/opening.response.rpt rename to specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/data.response.rpt index 2cdbf27a83..cb96188f42 100644 --- a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/opening.response.rpt +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/data.response.rpt @@ -30,3 +30,7 @@ read zilla:begin.ext ${ws:beginEx() connected # connection established + +read ([0..125] :server125) + +write ${server125} diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/opening.request.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/opening.request.rpt similarity index 100% rename from specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/opening.request.rpt rename to specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/opening.request.rpt diff --git a/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441/opening.response.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/opening.response.rpt similarity index 100% rename from runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/rfc8441/opening.response.rpt rename to specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/opening.response.rpt diff --git a/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/data.request.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/data.request.rpt similarity index 100% rename from runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/data.request.rpt rename to specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/data.request.rpt diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.response.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/data.response.rpt similarity index 91% rename from specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.response.rpt rename to specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/data.response.rpt index 5893583be7..0c1f20aab6 100644 --- a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.response.rpt +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/data.response.rpt @@ -42,7 +42,9 @@ write zilla:begin.ext ${http:beginEx() connected -read [0x81 0xfd] -read [0..125] +read [0x81 0xfd] ([0..4] :readMask) +read option mask ${readMask} +read ([0..125] :server125) +read option mask [0x00 0x00 0x00 0x00] -write [0x82 0x7d] ${client125} +write [0x82 0x7d] ${server125} diff --git a/runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/opening.request.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/opening.request.rpt similarity index 100% rename from runtime/binding-ws/src/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/rfc8441/opening.request.rpt rename to specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/opening.request.rpt diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.response.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/opening.response.rpt similarity index 100% rename from specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.response.rpt rename to specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/opening.response.rpt diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.response.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.response.rpt deleted file mode 100644 index 2f65ebdca0..0000000000 --- a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/data.response.rpt +++ /dev/null @@ -1,39 +0,0 @@ -# -# Copyright 2021-2023 Aklivity Inc. -# -# Aklivity licenses this file to you under the Apache License, -# version 2.0 (the "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -# - -accept "zilla://streams/app0" - option zilla:window 8192 - option zilla:transmission "duplex" -accepted - -read zilla:begin.ext ${ws:beginEx() - .typeId(zilla:id("ws")) - .protocol("chat") - .scheme("http") - .authority("localhost:8080") - .path("/chat") - .build()} - -connected - -# connection established - -read [0x81 0xfd] ([0..4] :readMask) -read option mask ${readMask} -read ([0..125] :server125) -read option mask [0x00 0x00 0x00 0x00] - -write ${server125} diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.request.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.request.rpt deleted file mode 100644 index 20cba30432..0000000000 --- a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/data.request.rpt +++ /dev/null @@ -1,50 +0,0 @@ -# -# Copyright 2021-2023 Aklivity Inc. -# -# Aklivity licenses this file to you under the Apache License, -# version 2.0 (the "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -# - -property writeMask ${http:randomBytes(4)} -property client125 ${http:randomBytesUTF8(125)} - -connect "zilla://streams/net0" - option zilla:window 8192 - option zilla:transmission "duplex" - -write zilla:begin.ext ${http:beginEx() - .typeId(zilla:id("http")) - .header(":method", "CONNECT") - .header(":scheme", "http") - .header(":authority", "localhost:8080") - .header(":path", "/chat") - .header(":protocol", "websocket") - .header("sec-websocket-protocol", "chat, superchat") - .header("sec-websocket-version", "13") - .header("origin", "http://www.example.com") - .build()} - - -read zilla:begin.ext ${http:beginEx() - .typeId(zilla:id("http")) - .header(":status", "200") - .header("sec-websocket-protocol", "chat") - .build()} - -connected - -write [0x81 0xfd] ${writeMask} -write option mask ${writeMask} -write ${client125} -write option mask [0x00 0x00 0x00 0x00] - -read [0x82 0x7d] ${client125} diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.request.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.request.rpt deleted file mode 100644 index cb8a787c28..0000000000 --- a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/opening.request.rpt +++ /dev/null @@ -1,42 +0,0 @@ -# -# Copyright 2021-2023 Aklivity Inc. -# -# Aklivity licenses this file to you under the Apache License, -# version 2.0 (the "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -# - -connect "zilla://streams/net0" - option zilla:window 8192 - option zilla:transmission "duplex" - -write zilla:begin.ext ${http:beginEx() - .typeId(zilla:id("http")) - .header(":method", "CONNECT") - .header(":scheme", "http") - .header(":authority", "localhost:8080") - .header(":path", "/chat") - .header(":protocol", "websocket") - .header("sec-websocket-protocol", "chat, superchat") - .header("sec-websocket-version", "13") - .header("origin", "http://www.example.com") - .build()} - - -read zilla:begin.ext ${http:beginEx() - .typeId(zilla:id("http")) - .header(":status", "200") - .header("sec-websocket-protocol", "chat") - .build()} - -connected - -# connection established diff --git a/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/WsOverHttp2IT.java b/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/application/WsOverHttp2IT.java similarity index 94% rename from specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/WsOverHttp2IT.java rename to specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/application/WsOverHttp2IT.java index 3cacf3d32b..228944e660 100644 --- a/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application/WsOverHttp2IT.java +++ b/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/application/WsOverHttp2IT.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations * under the License. */ -package io.aklivity.zilla.specs.binding.ws.streams.rfc8441.application; +package io.aklivity.zilla.specs.binding.ws.streams.application; import static java.util.concurrent.TimeUnit.SECONDS; import static org.junit.rules.RuleChain.outerRule; @@ -29,7 +29,7 @@ public class WsOverHttp2IT { private final K3poRule k3po = new K3poRule() - .addScriptRoot("app", "io/aklivity/zilla/specs/binding/ws/streams/rfc8441/application"); + .addScriptRoot("app", "io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2"); private final TestRule timeout = new DisableOnDebug(new Timeout(5, SECONDS)); diff --git a/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/WsOverHttp2IT.java b/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/network/WsOverHttp2IT.java similarity index 94% rename from specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/WsOverHttp2IT.java rename to specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/network/WsOverHttp2IT.java index da50354229..8197dfb92f 100644 --- a/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network/WsOverHttp2IT.java +++ b/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/network/WsOverHttp2IT.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations * under the License. */ -package io.aklivity.zilla.specs.binding.ws.streams.rfc8441.network; +package io.aklivity.zilla.specs.binding.ws.streams.network; import static java.util.concurrent.TimeUnit.SECONDS; import static org.junit.rules.RuleChain.outerRule; @@ -29,7 +29,7 @@ public class WsOverHttp2IT { private final K3poRule k3po = new K3poRule() - .addScriptRoot("net", "io/aklivity/zilla/specs/binding/ws/streams/rfc8441/network"); + .addScriptRoot("net", "io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2"); private final TestRule timeout = new DisableOnDebug(new Timeout(5, SECONDS)); From a4a6b7d08750d87ef3b8edb260ad88a59a14e1c7 Mon Sep 17 00:00:00 2001 From: Mustafa Munjid Date: Wed, 5 Jul 2023 22:35:22 +1000 Subject: [PATCH 11/12] Rename spec directories. --- .../streams/server/WsOverHttp2IT.java | 16 ++++-- .../ws.over.h2/echo.binary.data.request.rpt | 38 ++++++++++++++ ...onse.rpt => echo.binary.data.response.rpt} | 0 ...request.rpt => echo.text.data.request.rpt} | 0 .../ws.over.h2/echo.text.data.response.rpt | 36 +++++++++++++ .../ws.over.h2/echo.binary.data.request.rpt | 50 +++++++++++++++++++ .../ws.over.h2/echo.binary.data.response.rpt | 47 +++++++++++++++++ ...request.rpt => echo.text.data.request.rpt} | 2 +- ...sponse.rpt => echo.text.data.response.rpt} | 5 +- .../ws/streams/application/WsOverHttp2IT.java | 15 ++++-- .../ws/streams/network/WsOverHttp2IT.java | 15 ++++-- 11 files changed, 210 insertions(+), 14 deletions(-) create mode 100644 specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/echo.binary.data.request.rpt rename specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/{data.response.rpt => echo.binary.data.response.rpt} (100%) rename specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/{data.request.rpt => echo.text.data.request.rpt} (100%) create mode 100644 specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/echo.text.data.response.rpt create mode 100644 specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/echo.binary.data.request.rpt create mode 100644 specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/echo.binary.data.response.rpt rename specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/{data.request.rpt => echo.text.data.request.rpt} (98%) rename specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/{data.response.rpt => echo.text.data.response.rpt} (93%) diff --git a/runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/server/WsOverHttp2IT.java b/runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/server/WsOverHttp2IT.java index 8c1942046f..d8bcedb109 100644 --- a/runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/server/WsOverHttp2IT.java +++ b/runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/server/WsOverHttp2IT.java @@ -62,9 +62,19 @@ public void shouldEstablishConnection() throws Exception @Test @Configuration("server.yaml") @Specification({ - "${net}/data.request", - "${app}/data.response" }) - public void shouldEchoData() throws Exception + "${net}/echo.binary.data.request", + "${app}/echo.binary.data.response" }) + public void shouldEchoBinaryData() throws Exception + { + k3po.finish(); + } + + @Test + @Configuration("server.yaml") + @Specification({ + "${net}/echo.text.data.request", + "${app}/echo.text.data.response" }) + public void shouldEchoTextData() throws Exception { k3po.finish(); } diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/echo.binary.data.request.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/echo.binary.data.request.rpt new file mode 100644 index 0000000000..a610ac213a --- /dev/null +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/echo.binary.data.request.rpt @@ -0,0 +1,38 @@ +# +# Copyright 2021-2023 Aklivity Inc. +# +# Aklivity licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# + +property writeMask ${http:randomBytes(4)} +property client125 ${http:randomBytes(125)} + +connect "zilla://streams/app0" + option zilla:window 8192 + option zilla:transmission "duplex" + +write zilla:begin.ext ${ws:beginEx() + .typeId(zilla:id("ws")) + .protocol("chat") + .scheme("http") + .authority("localhost:8080") + .path("/chat") + .build()} + +connected + +# connection established + +write ${client125} + +read ${client125} diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/data.response.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/echo.binary.data.response.rpt similarity index 100% rename from specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/data.response.rpt rename to specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/echo.binary.data.response.rpt diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/data.request.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/echo.text.data.request.rpt similarity index 100% rename from specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/data.request.rpt rename to specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/echo.text.data.request.rpt diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/echo.text.data.response.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/echo.text.data.response.rpt new file mode 100644 index 0000000000..cb96188f42 --- /dev/null +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/application/ws.over.h2/echo.text.data.response.rpt @@ -0,0 +1,36 @@ +# +# Copyright 2021-2023 Aklivity Inc. +# +# Aklivity licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# + +accept "zilla://streams/app0" + option zilla:window 8192 + option zilla:transmission "duplex" +accepted + +read zilla:begin.ext ${ws:beginEx() + .typeId(zilla:id("ws")) + .protocol("chat") + .scheme("http") + .authority("localhost:8080") + .path("/chat") + .build()} + +connected + +# connection established + +read ([0..125] :server125) + +write ${server125} diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/echo.binary.data.request.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/echo.binary.data.request.rpt new file mode 100644 index 0000000000..fc3623765e --- /dev/null +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/echo.binary.data.request.rpt @@ -0,0 +1,50 @@ +# +# Copyright 2021-2023 Aklivity Inc. +# +# Aklivity licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# + +property writeMask ${http:randomBytes(4)} +property client125 ${http:randomBytes(125)} + +connect "zilla://streams/net0" + option zilla:window 8192 + option zilla:transmission "duplex" + +write zilla:begin.ext ${http:beginEx() + .typeId(zilla:id("http")) + .header(":method", "CONNECT") + .header(":scheme", "http") + .header(":authority", "localhost:8080") + .header(":path", "/chat") + .header(":protocol", "websocket") + .header("sec-websocket-protocol", "chat, superchat") + .header("sec-websocket-version", "13") + .header("origin", "http://www.example.com") + .build()} + + +read zilla:begin.ext ${http:beginEx() + .typeId(zilla:id("http")) + .header(":status", "200") + .header("sec-websocket-protocol", "chat") + .build()} + +connected + +write [0x82 0xfd] ${writeMask} +write option mask ${writeMask} +write ${client125} +write option mask [0x00 0x00 0x00 0x00] + +read [0x82 0x7d] ${client125} diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/echo.binary.data.response.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/echo.binary.data.response.rpt new file mode 100644 index 0000000000..6b25e6e31b --- /dev/null +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/echo.binary.data.response.rpt @@ -0,0 +1,47 @@ +# +# Copyright 2021-2023 Aklivity Inc. +# +# Aklivity licenses this file to you under the Apache License, +# version 2.0 (the "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# + +accept "zilla://streams/net0" + option zilla:window 8192 + option zilla:transmission "duplex" +accepted + +read zilla:begin.ext ${zilla:id("http")} + [0xc1 0x00 0x00 0x00] + [0x08 0x00 0x00 0x00] + [0x07] ":method" [0x07 0x00] "CONNECT" + [0x07] ":scheme" [0x04 0x00] "http" + [0x0a] ":authority" [0x0e 0x00] "localhost:8080" + [0x05] ":path" [0x05 0x00] "/chat" + [0x09] ":protocol" [0x09 0x00] "websocket" + [0x16] "sec-websocket-protocol" [0x0f 0x00] "chat, superchat" + [0x15] "sec-websocket-version" [0x02 0x00] "13" + [0x06] "origin" [0x16 0x00] "http://www.example.com" + +write zilla:begin.ext ${http:beginEx() + .typeId(zilla:id("http")) + .header(":status", "200") + .header("sec-websocket-protocol", "chat") + .build()} + +connected + +read [0x82 0xfd] ([0..4] :readMask) +read option mask ${readMask} +read ([0..125] :server125) +read option mask [0x00 0x00 0x00 0x00] + +write [0x82 0x7d] ${server125} diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/data.request.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/echo.text.data.request.rpt similarity index 98% rename from specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/data.request.rpt rename to specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/echo.text.data.request.rpt index 20cba30432..9fcc99a474 100644 --- a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/data.request.rpt +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/echo.text.data.request.rpt @@ -47,4 +47,4 @@ write option mask ${writeMask} write ${client125} write option mask [0x00 0x00 0x00 0x00] -read [0x82 0x7d] ${client125} +read [0x81 0x7d] ${client125} diff --git a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/data.response.rpt b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/echo.text.data.response.rpt similarity index 93% rename from specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/data.response.rpt rename to specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/echo.text.data.response.rpt index 0c1f20aab6..26db04948b 100644 --- a/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/data.response.rpt +++ b/specs/binding-ws.spec/src/main/scripts/io/aklivity/zilla/specs/binding/ws/streams/network/ws.over.h2/echo.text.data.response.rpt @@ -14,9 +14,6 @@ # under the License. # -property writeMask ${http:randomBytes(4)} -property client125 ${http:randomBytesUTF8(125)} - accept "zilla://streams/net0" option zilla:window 8192 option zilla:transmission "duplex" @@ -47,4 +44,4 @@ read option mask ${readMask} read ([0..125] :server125) read option mask [0x00 0x00 0x00 0x00] -write [0x82 0x7d] ${server125} +write [0x81 0x7d] ${server125} diff --git a/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/application/WsOverHttp2IT.java b/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/application/WsOverHttp2IT.java index 228944e660..bc22864cd1 100644 --- a/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/application/WsOverHttp2IT.java +++ b/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/application/WsOverHttp2IT.java @@ -47,9 +47,18 @@ public void shouldEstablishConnection() throws Exception @Test @Specification({ - "${app}/data.request", - "${app}/data.response" }) - public void shouldEchoData() throws Exception + "${app}/echo.binary.data.request", + "${app}/echo.binary.data.response" }) + public void shouldEchoBinaryData() throws Exception + { + k3po.finish(); + } + + @Test + @Specification({ + "${app}/echo.text.data.request", + "${app}/echo.text.data.response" }) + public void shouldEchoTextData() throws Exception { k3po.finish(); } diff --git a/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/network/WsOverHttp2IT.java b/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/network/WsOverHttp2IT.java index 8197dfb92f..2b60dd0b67 100644 --- a/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/network/WsOverHttp2IT.java +++ b/specs/binding-ws.spec/src/test/java/io/aklivity/zilla/specs/binding/ws/streams/network/WsOverHttp2IT.java @@ -47,9 +47,18 @@ public void shouldEstablishConnection() throws Exception @Test @Specification({ - "${net}/data.request", - "${net}/data.response" }) - public void shouldEchoData() throws Exception + "${net}/echo.binary.data.request", + "${net}/echo.binary.data.response" }) + public void shouldEchoBinaryData() throws Exception + { + k3po.finish(); + } + + @Test + @Specification({ + "${net}/echo.text.data.request", + "${net}/echo.text.data.response" }) + public void shouldEchoTextData() throws Exception { k3po.finish(); } From cab5a94dd6d5ef7970525387fa2641b59066406c Mon Sep 17 00:00:00 2001 From: Mustafa Munjid Date: Wed, 10 Jan 2024 20:23:44 +1100 Subject: [PATCH 12/12] Remove unused engine configuration --- .../http/internal/streams/rfc8441/client/ConnectIT.java | 4 +--- .../http/internal/streams/rfc8441/server/ConnectIT.java | 4 +--- .../binding/ws/internal/streams/server/WsOverHttp2IT.java | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/client/ConnectIT.java b/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/client/ConnectIT.java index cfac1980d4..85cbdd99a6 100644 --- a/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/client/ConnectIT.java +++ b/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/client/ConnectIT.java @@ -43,9 +43,7 @@ public class ConnectIT private final EngineRule engine = new EngineRule() .directory("target/zilla-itests") - .commandBufferCapacity(1024) - .responseBufferCapacity(1024) - .counterValuesBufferCapacity(8192) + .countersBufferCapacity(8192) .configurationRoot("io/aklivity/zilla/specs/binding/http/config/v2") .external("net0") .configure(EngineConfiguration.ENGINE_DRAIN_ON_CLOSE, false) diff --git a/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java b/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java index f16fe191f3..ad0878a5ed 100644 --- a/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java +++ b/runtime/binding-http/src/test/java/io/aklivity/zilla/runtime/binding/http/internal/streams/rfc8441/server/ConnectIT.java @@ -42,9 +42,7 @@ public class ConnectIT private final EngineRule engine = new EngineRule() .directory("target/zilla-itests") - .commandBufferCapacity(1024) - .responseBufferCapacity(1024) - .counterValuesBufferCapacity(8192) + .countersBufferCapacity(8192) .configurationRoot("io/aklivity/zilla/specs/binding/http/config/v2") .external("app0") .configure(EngineConfiguration.ENGINE_DRAIN_ON_CLOSE, false) diff --git a/runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/server/WsOverHttp2IT.java b/runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/server/WsOverHttp2IT.java index d8bcedb109..4dc1514ead 100644 --- a/runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/server/WsOverHttp2IT.java +++ b/runtime/binding-ws/src/test/java/io/aklivity/zilla/runtime/binding/ws/internal/streams/server/WsOverHttp2IT.java @@ -39,9 +39,7 @@ public class WsOverHttp2IT private final EngineRule engine = new EngineRule() .directory("target/zilla-itests") - .commandBufferCapacity(1024) - .responseBufferCapacity(1024) - .counterValuesBufferCapacity(4096) + .countersBufferCapacity(4096) .configurationRoot("io/aklivity/zilla/specs/binding/ws/config") .external("app0") .clean();