async-http 0.81.0 → 0.82.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/async/http/protocol/http1/connection.rb +0 -11
- data/lib/async/http/protocol/http2/stream.rb +2 -5
- data/lib/async/http/version.rb +1 -1
- data/readme.md +4 -0
- data/releases.md +4 -0
- data.tar.gz.sig +0 -0
- metadata +8 -8
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a11ccce0d608ca64fbed5c7e5cc23428e25d618f0b6b68aa34e6be7516a6982
|
4
|
+
data.tar.gz: 890277e43541eaacb5f9f756f697505bcf8443e5aeea7d99b43d23df94896f87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2748cb15c2ae647b7aad72c3151edf747f4c1a366c495c981a0a135d1219b4bccdf5f8433ca44e79d1e92f9e3d4e54a775747df97a0ecede05982e6451f538fb
|
7
|
+
data.tar.gz: 0647bec2b9b92d5fddbf9ef43bdaa53d626026172d5dc0a922da0716a0c3cde75e8d586a12f79ad851f98994c30c6a1b534e78dd96bd83ee061778ee243cfb41
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -41,17 +41,6 @@ module Async
|
|
41
41
|
false
|
42
42
|
end
|
43
43
|
|
44
|
-
def read_line?
|
45
|
-
@stream.read_until(CRLF)
|
46
|
-
rescue => error
|
47
|
-
# Bascially, any error will cause the connection to be closed:
|
48
|
-
return nil
|
49
|
-
end
|
50
|
-
|
51
|
-
def read_line
|
52
|
-
@stream.read_until(CRLF) or raise EOFError, "Could not read line!"
|
53
|
-
end
|
54
|
-
|
55
44
|
def peer
|
56
45
|
@stream.io
|
57
46
|
end
|
@@ -61,10 +61,8 @@ module Async
|
|
61
61
|
self.receive_initial_headers(super, frame.end_stream?)
|
62
62
|
end
|
63
63
|
|
64
|
-
|
65
|
-
|
66
|
-
@input = nil
|
67
|
-
input.close_write
|
64
|
+
if @input and frame.end_stream?
|
65
|
+
@input.close_write
|
68
66
|
end
|
69
67
|
rescue ::Protocol::HTTP2::HeaderError => error
|
70
68
|
Console.logger.debug(self, error)
|
@@ -103,7 +101,6 @@ module Async
|
|
103
101
|
|
104
102
|
if frame.end_stream?
|
105
103
|
@input.close_write
|
106
|
-
@input = nil
|
107
104
|
end
|
108
105
|
end
|
109
106
|
|
data/lib/async/http/version.rb
CHANGED
data/readme.md
CHANGED
@@ -16,6 +16,10 @@ Please see the [project documentation](https://socketry.github.io/async-http/) f
|
|
16
16
|
|
17
17
|
Please see the [project releases](https://socketry.github.io/async-http/releases/index) for all releases.
|
18
18
|
|
19
|
+
### v0.82.0
|
20
|
+
|
21
|
+
- `protocol-http1` introduces a line length limit for request line, response line, header lines and chunk length lines.
|
22
|
+
|
19
23
|
### v0.81.0
|
20
24
|
|
21
25
|
- Expose `protocol` and `endpoint` as tags to `async-pool` for improved instrumentation.
|
data/releases.md
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async-http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.82.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -58,7 +58,7 @@ cert_chain:
|
|
58
58
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
59
59
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
60
60
|
-----END CERTIFICATE-----
|
61
|
-
date: 2024-10-
|
61
|
+
date: 2024-10-16 00:00:00.000000000 Z
|
62
62
|
dependencies:
|
63
63
|
- !ruby/object:Gem::Dependency
|
64
64
|
name: async
|
@@ -108,14 +108,14 @@ dependencies:
|
|
108
108
|
requirements:
|
109
109
|
- - "~>"
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version: '0.
|
111
|
+
version: '0.6'
|
112
112
|
type: :runtime
|
113
113
|
prerelease: false
|
114
114
|
version_requirements: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
116
|
- - "~>"
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version: '0.
|
118
|
+
version: '0.6'
|
119
119
|
- !ruby/object:Gem::Dependency
|
120
120
|
name: protocol-http
|
121
121
|
requirement: !ruby/object:Gem::Requirement
|
@@ -134,16 +134,16 @@ dependencies:
|
|
134
134
|
name: protocol-http1
|
135
135
|
requirement: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
|
-
- - "
|
137
|
+
- - ">="
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version:
|
139
|
+
version: 0.28.1
|
140
140
|
type: :runtime
|
141
141
|
prerelease: false
|
142
142
|
version_requirements: !ruby/object:Gem::Requirement
|
143
143
|
requirements:
|
144
|
-
- - "
|
144
|
+
- - ">="
|
145
145
|
- !ruby/object:Gem::Version
|
146
|
-
version:
|
146
|
+
version: 0.28.1
|
147
147
|
- !ruby/object:Gem::Dependency
|
148
148
|
name: protocol-http2
|
149
149
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
Binary file
|