http3 0.0.3 → 0.0.5
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
- data/CHANGELOG.md +92 -0
- data/LICENSE-DEPENDENCIES.txt +2 -2
- data/README.md +124 -8
- data/ext/http3/extconf.rb +8 -5
- data/ext/http3/nghttp3.c +20 -1
- data/ext/http3/nghttp3.h +38 -3
- data/ext/http3/nghttp3_callbacks.c +8 -10
- data/ext/http3/nghttp3_connection.c +378 -206
- data/ext/http3/nghttp3_nv.c +53 -20
- data/ext/http3/nghttp3_qpack.c +66 -22
- data/ext/http3/session.c +429 -55
- data/lib/http3/body_pipe.rb +160 -0
- data/lib/http3/body_stream.rb +120 -0
- data/lib/http3/rack_adapter.rb +220 -38
- data/lib/http3/request.rb +4 -2
- data/lib/http3/server.rb +551 -41
- data/lib/http3/session.rb +614 -66
- data/lib/http3/version.rb +1 -1
- data/lib/http3/worker_pool.rb +71 -0
- data/lib/http3.rb +3 -0
- data/sig/http3/body_pipe.rbs +45 -0
- data/sig/http3/body_stream.rbs +41 -0
- data/sig/http3/nghttp3/connection.rbs +43 -9
- data/sig/http3/nghttp3/nv.rbs +4 -0
- data/sig/http3/nghttp3/qpack.rbs +10 -3
- data/sig/http3/rack_adapter.rbs +29 -4
- data/sig/http3/request.rbs +5 -3
- data/sig/http3/response.rbs +2 -2
- data/sig/http3/server.rbs +14 -1
- data/sig/http3/session.rbs +136 -13
- data/sig/http3/worker_pool.rbs +19 -0
- data/sig/http3.rbs +3 -0
- metadata +9 -6
- data/.clang-format +0 -1
- data/.vscode/extensions.json +0 -6
- data/.vscode/settings.json +0 -10
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: http3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yusuke Nakamura
|
|
@@ -29,14 +29,14 @@ dependencies:
|
|
|
29
29
|
requirements:
|
|
30
30
|
- - "~>"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 0.0.
|
|
32
|
+
version: 0.0.6
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
37
|
- - "~>"
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: 0.0.
|
|
39
|
+
version: 0.0.6
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: rack
|
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -75,9 +75,6 @@ extensions:
|
|
|
75
75
|
- ext/http3/extconf.rb
|
|
76
76
|
extra_rdoc_files: []
|
|
77
77
|
files:
|
|
78
|
-
- ".clang-format"
|
|
79
|
-
- ".vscode/extensions.json"
|
|
80
|
-
- ".vscode/settings.json"
|
|
81
78
|
- CHANGELOG.md
|
|
82
79
|
- CODE_OF_CONDUCT.md
|
|
83
80
|
- LICENSE-DEPENDENCIES.txt
|
|
@@ -94,13 +91,18 @@ files:
|
|
|
94
91
|
- ext/http3/nghttp3_settings.c
|
|
95
92
|
- ext/http3/session.c
|
|
96
93
|
- lib/http3.rb
|
|
94
|
+
- lib/http3/body_pipe.rb
|
|
95
|
+
- lib/http3/body_stream.rb
|
|
97
96
|
- lib/http3/rack_adapter.rb
|
|
98
97
|
- lib/http3/request.rb
|
|
99
98
|
- lib/http3/response.rb
|
|
100
99
|
- lib/http3/server.rb
|
|
101
100
|
- lib/http3/session.rb
|
|
102
101
|
- lib/http3/version.rb
|
|
102
|
+
- lib/http3/worker_pool.rb
|
|
103
103
|
- sig/http3.rbs
|
|
104
|
+
- sig/http3/body_pipe.rbs
|
|
105
|
+
- sig/http3/body_stream.rbs
|
|
104
106
|
- sig/http3/nghttp3/callbacks.rbs
|
|
105
107
|
- sig/http3/nghttp3/connection.rbs
|
|
106
108
|
- sig/http3/nghttp3/error.rbs
|
|
@@ -113,6 +115,7 @@ files:
|
|
|
113
115
|
- sig/http3/response.rbs
|
|
114
116
|
- sig/http3/server.rbs
|
|
115
117
|
- sig/http3/session.rbs
|
|
118
|
+
- sig/http3/worker_pool.rbs
|
|
116
119
|
homepage: https://github.com/unasuke/http3-ruby
|
|
117
120
|
licenses:
|
|
118
121
|
- MIT
|
data/.clang-format
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
BasedOnStyle: LLVM
|
data/.vscode/extensions.json
DELETED