async-http 0.52.0 → 0.52.1
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/gems.locked +103 -0
- data/{Gemfile → gems.rb} +0 -0
- data/lib/async/http/protocol/http1/client.rb +1 -1
- data/lib/async/http/protocol/http1/server.rb +2 -2
- data/lib/async/http/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3eae41a03fcbeb32308cd6f6632f18ef6f8c3fc8bbf4dabd8e360cca792c2510
|
|
4
|
+
data.tar.gz: 473658b819493d2c4cd493c7b723ae02bccf69f3cb19f760599d18d30867de70
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7ded1163becb221402d6c048d9611518883662d3efc6a5246268d7feff5fe013736d4fcb60c082a3d821bb9df3f1dc8da0e07f0995d0564c2b37fa6160587f9
|
|
7
|
+
data.tar.gz: 9a7f56f11024114ee9615af2abc60fcba83d20803815519956db9fee20f212cd156d1505da349c21b702c85e85373a0688601541bc3588944e583fe358d55044
|
data/gems.locked
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
async-http (0.52.1)
|
|
5
|
+
async (~> 1.25)
|
|
6
|
+
async-io (~> 1.28)
|
|
7
|
+
async-pool (~> 0.2)
|
|
8
|
+
protocol-http (~> 0.18.0)
|
|
9
|
+
protocol-http1 (~> 0.12.0)
|
|
10
|
+
protocol-http2 (~> 0.14.0)
|
|
11
|
+
|
|
12
|
+
GEM
|
|
13
|
+
remote: https://rubygems.org/
|
|
14
|
+
specs:
|
|
15
|
+
ast (2.4.0)
|
|
16
|
+
async (1.25.2)
|
|
17
|
+
console (~> 1.0)
|
|
18
|
+
nio4r (~> 2.3)
|
|
19
|
+
timers (~> 4.1)
|
|
20
|
+
async-container (0.14.1)
|
|
21
|
+
async (~> 1.0)
|
|
22
|
+
async-io (~> 1.4)
|
|
23
|
+
process-group
|
|
24
|
+
async-io (1.29.0)
|
|
25
|
+
async (~> 1.14)
|
|
26
|
+
async-pool (0.3.1)
|
|
27
|
+
async (~> 1.25)
|
|
28
|
+
async-rest (0.12.2)
|
|
29
|
+
async-http (~> 0.42)
|
|
30
|
+
protocol-http (~> 0.7)
|
|
31
|
+
async-rspec (1.14.0)
|
|
32
|
+
rspec (~> 3.0)
|
|
33
|
+
rspec-files (~> 1.0)
|
|
34
|
+
rspec-memory (~> 1.0)
|
|
35
|
+
bake (0.13.0)
|
|
36
|
+
samovar (~> 2.1)
|
|
37
|
+
bake-bundler (0.3.1)
|
|
38
|
+
bake (~> 0.9)
|
|
39
|
+
rspec
|
|
40
|
+
console (1.8.2)
|
|
41
|
+
covered (0.13.1)
|
|
42
|
+
async-rest
|
|
43
|
+
console (~> 1.0)
|
|
44
|
+
msgpack
|
|
45
|
+
parser
|
|
46
|
+
diff-lcs (1.3)
|
|
47
|
+
ffi (1.12.2)
|
|
48
|
+
mapping (1.1.1)
|
|
49
|
+
msgpack (1.3.3)
|
|
50
|
+
nio4r (2.5.2)
|
|
51
|
+
parser (2.7.1.2)
|
|
52
|
+
ast (~> 2.4.0)
|
|
53
|
+
process-group (1.2.1)
|
|
54
|
+
process-terminal (~> 0.2.0)
|
|
55
|
+
process-terminal (0.2.0)
|
|
56
|
+
ffi
|
|
57
|
+
protocol-hpack (1.4.2)
|
|
58
|
+
protocol-http (0.18.0)
|
|
59
|
+
protocol-http1 (0.12.0)
|
|
60
|
+
protocol-http (~> 0.18)
|
|
61
|
+
protocol-http2 (0.14.0)
|
|
62
|
+
protocol-hpack (~> 1.4)
|
|
63
|
+
protocol-http (~> 0.18)
|
|
64
|
+
rack (2.2.2)
|
|
65
|
+
rack-test (1.1.0)
|
|
66
|
+
rack (>= 1.0, < 3)
|
|
67
|
+
rspec (3.9.0)
|
|
68
|
+
rspec-core (~> 3.9.0)
|
|
69
|
+
rspec-expectations (~> 3.9.0)
|
|
70
|
+
rspec-mocks (~> 3.9.0)
|
|
71
|
+
rspec-core (3.9.2)
|
|
72
|
+
rspec-support (~> 3.9.3)
|
|
73
|
+
rspec-expectations (3.9.1)
|
|
74
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
75
|
+
rspec-support (~> 3.9.0)
|
|
76
|
+
rspec-files (1.0.2)
|
|
77
|
+
rspec (~> 3.0)
|
|
78
|
+
rspec-memory (1.0.2)
|
|
79
|
+
rspec (~> 3.0)
|
|
80
|
+
rspec-mocks (3.9.1)
|
|
81
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
82
|
+
rspec-support (~> 3.9.0)
|
|
83
|
+
rspec-support (3.9.3)
|
|
84
|
+
samovar (2.1.4)
|
|
85
|
+
console (~> 1.0)
|
|
86
|
+
mapping (~> 1.0)
|
|
87
|
+
timers (4.3.0)
|
|
88
|
+
|
|
89
|
+
PLATFORMS
|
|
90
|
+
ruby
|
|
91
|
+
|
|
92
|
+
DEPENDENCIES
|
|
93
|
+
async-container (~> 0.14.0)
|
|
94
|
+
async-http!
|
|
95
|
+
async-rspec (~> 1.10)
|
|
96
|
+
bake-bundler
|
|
97
|
+
bundler
|
|
98
|
+
covered
|
|
99
|
+
rack-test
|
|
100
|
+
rspec (~> 3.6)
|
|
101
|
+
|
|
102
|
+
BUNDLED WITH
|
|
103
|
+
2.1.4
|
data/{Gemfile → gems.rb}
RENAMED
|
File without changes
|
|
@@ -94,12 +94,12 @@ module Async
|
|
|
94
94
|
request = nil unless body
|
|
95
95
|
response = nil
|
|
96
96
|
|
|
97
|
-
write_body(
|
|
97
|
+
write_body(request.version, body, head, trailers)
|
|
98
98
|
end
|
|
99
99
|
else
|
|
100
100
|
# If the request failed to generate a response, it was an internal server error:
|
|
101
101
|
write_response(@version, 500, {})
|
|
102
|
-
write_body(
|
|
102
|
+
write_body(request.version, nil)
|
|
103
103
|
end
|
|
104
104
|
|
|
105
105
|
# Gracefully finish reading the request body if it was not already done so.
|
data/lib/async/http/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: async-http
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.52.
|
|
4
|
+
version: 0.52.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel Williams
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-05-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: async
|
|
@@ -204,7 +204,6 @@ files:
|
|
|
204
204
|
- ".gitignore"
|
|
205
205
|
- ".rspec"
|
|
206
206
|
- ".travis.yml"
|
|
207
|
-
- Gemfile
|
|
208
207
|
- README.md
|
|
209
208
|
- async-http.gemspec
|
|
210
209
|
- bake.rb
|
|
@@ -228,6 +227,8 @@ files:
|
|
|
228
227
|
- examples/upload/data.txt
|
|
229
228
|
- examples/upload/server.rb
|
|
230
229
|
- examples/upload/upload.rb
|
|
230
|
+
- gems.locked
|
|
231
|
+
- gems.rb
|
|
231
232
|
- lib/async/http.rb
|
|
232
233
|
- lib/async/http/body.rb
|
|
233
234
|
- lib/async/http/body/delayed.rb
|