protocol-http2 0.22.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/context/getting-started.md +82 -0
- data/context/index.yaml +12 -0
- data/lib/protocol/http2/client.rb +28 -1
- data/lib/protocol/http2/connection.rb +87 -1
- data/lib/protocol/http2/continuation_frame.rb +42 -4
- data/lib/protocol/http2/data_frame.rb +11 -1
- data/lib/protocol/http2/error.rb +17 -2
- data/lib/protocol/http2/flow_controlled.rb +13 -1
- data/lib/protocol/http2/frame.rb +47 -2
- data/lib/protocol/http2/framer.rb +16 -1
- data/lib/protocol/http2/goaway_frame.rb +11 -1
- data/lib/protocol/http2/headers_frame.rb +15 -1
- data/lib/protocol/http2/padded.rb +12 -1
- data/lib/protocol/http2/ping_frame.rb +17 -1
- data/lib/protocol/http2/priority_update_frame.rb +9 -1
- data/lib/protocol/http2/push_promise_frame.rb +10 -1
- data/lib/protocol/http2/reset_stream_frame.rb +10 -1
- data/lib/protocol/http2/server.rb +27 -1
- data/lib/protocol/http2/settings_frame.rb +58 -1
- data/lib/protocol/http2/stream.rb +48 -1
- data/lib/protocol/http2/version.rb +4 -2
- data/lib/protocol/http2/window.rb +25 -1
- data/lib/protocol/http2/window_update_frame.rb +10 -1
- data/lib/traces/provider/protocol/http2/framer.rb +11 -1
- data/license.md +2 -1
- data/readme.md +13 -74
- data/releases.md +5 -1
- data.tar.gz.sig +0 -0
- metadata +9 -11
- metadata.gz.sig +0 -0
data/releases.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# Releases
|
2
2
|
|
3
|
-
##
|
3
|
+
## v0.23.0
|
4
|
+
|
5
|
+
- Introduce a limit to the number of CONTINUATION frames that can be read to prevent resource exhaustion. The default limit is 8 continuation frames, which means a total of 9 frames (1 initial + 8 continuation). This limit can be adjusted by passing a different value to the `limit` parameter in the `Continued.read` method. Setting the limit to 0 will only read the initial frame without any continuation frames. In order to change the default, you can redefine the `LIMIT` constant in the `Protocol::HTTP2::Continued` module, OR you can pass a different frame class to the framer.
|
6
|
+
|
7
|
+
## v0.22.0
|
4
8
|
|
5
9
|
### Added Priority Update Frame and Stream Priority
|
6
10
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protocol-http2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
- Yuta Iwama
|
9
|
+
- Adam Petro
|
9
10
|
- Marco Concetto Rudilosso
|
10
11
|
- Olle Jonsson
|
11
|
-
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain:
|
14
14
|
- |
|
@@ -40,7 +40,7 @@ cert_chain:
|
|
40
40
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
41
41
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
42
42
|
-----END CERTIFICATE-----
|
43
|
-
date:
|
43
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
44
44
|
dependencies:
|
45
45
|
- !ruby/object:Gem::Dependency
|
46
46
|
name: protocol-hpack
|
@@ -62,20 +62,20 @@ dependencies:
|
|
62
62
|
requirements:
|
63
63
|
- - "~>"
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '0.
|
65
|
+
version: '0.47'
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
68
|
version_requirements: !ruby/object:Gem::Requirement
|
69
69
|
requirements:
|
70
70
|
- - "~>"
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: '0.
|
73
|
-
description:
|
74
|
-
email:
|
72
|
+
version: '0.47'
|
75
73
|
executables: []
|
76
74
|
extensions: []
|
77
75
|
extra_rdoc_files: []
|
78
76
|
files:
|
77
|
+
- context/getting-started.md
|
78
|
+
- context/index.yaml
|
79
79
|
- lib/protocol/http2.rb
|
80
80
|
- lib/protocol/http2/client.rb
|
81
81
|
- lib/protocol/http2/connection.rb
|
@@ -109,7 +109,6 @@ licenses:
|
|
109
109
|
metadata:
|
110
110
|
documentation_uri: https://socketry.github.io/protocol-http2/
|
111
111
|
source_code_uri: https://github.com/socketry/protocol-http2.git
|
112
|
-
post_install_message:
|
113
112
|
rdoc_options: []
|
114
113
|
require_paths:
|
115
114
|
- lib
|
@@ -117,15 +116,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
117
116
|
requirements:
|
118
117
|
- - ">="
|
119
118
|
- !ruby/object:Gem::Version
|
120
|
-
version: '3.
|
119
|
+
version: '3.2'
|
121
120
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
121
|
requirements:
|
123
122
|
- - ">="
|
124
123
|
- !ruby/object:Gem::Version
|
125
124
|
version: '0'
|
126
125
|
requirements: []
|
127
|
-
rubygems_version: 3.
|
128
|
-
signing_key:
|
126
|
+
rubygems_version: 3.6.9
|
129
127
|
specification_version: 4
|
130
128
|
summary: A low level implementation of the HTTP/2 protocol.
|
131
129
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|