async-http 0.64.1 → 0.65.0
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/bake/async/http/h2spec.rb +3 -3
- data/lib/async/http/body/pipe.rb +3 -6
- data/lib/async/http/client.rb +19 -5
- data/lib/async/http/endpoint.rb +7 -8
- data/lib/async/http/protocol/http1/connection.rb +14 -2
- data/lib/async/http/protocol/http1/request.rb +2 -2
- data/lib/async/http/protocol/http1/response.rb +2 -1
- data/lib/async/http/protocol/http1/server.rb +4 -4
- data/lib/async/http/protocol/http1.rb +5 -3
- data/lib/async/http/protocol/http10.rb +3 -3
- data/lib/async/http/protocol/http11.rb +3 -3
- data/lib/async/http/protocol/http2/connection.rb +21 -27
- data/lib/async/http/protocol/http2/server.rb +1 -1
- data/lib/async/http/protocol/http2/stream.rb +2 -1
- data/lib/async/http/protocol/http2.rb +5 -5
- data/lib/async/http/protocol/https.rb +1 -1
- data/lib/async/http/proxy.rb +2 -2
- data/lib/async/http/server.rb +15 -4
- data/lib/async/http/version.rb +2 -2
- data/license.md +4 -1
- data/readme.md +1 -1
- data.tar.gz.sig +0 -0
- metadata +36 -17
- 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: 1fed6dc55e6fb3c91f31237ca2356a198b1125d0fa49fc970b37fdab16ae0fde
|
4
|
+
data.tar.gz: fd0d5ab9f8587f0eb7ef4eadff2c38c9812c96f074135d025a7a15e52b1eb5ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86b6e22259dbc347c7921b9a5ee1c01d642599b855e2f5a15d084acf750d05009008d2a0ca6ec4a817dff0b0431c76823fd42a2af8a06a6587246036142ebdf2
|
7
|
+
data.tar.gz: '0280a0a6750d1d661ee72bf60294942af80680f9d6b96635dc68377a5e672484008e8bace2ee28a5bfcd5c5dd8b458797d7194c1fa6a21e824d36e37e1ace86c'
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/bake/async/http/h2spec.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2019-
|
4
|
+
# Copyright, 2019-2024, by Samuel Williams.
|
5
5
|
|
6
6
|
def build
|
7
7
|
# Fetch the code:
|
@@ -24,9 +24,9 @@ def server
|
|
24
24
|
require 'async'
|
25
25
|
require 'async/container'
|
26
26
|
require 'async/http/server'
|
27
|
-
require '
|
27
|
+
require 'io/endpoint/host_endpoint'
|
28
28
|
|
29
|
-
endpoint =
|
29
|
+
endpoint = IO::Endpoint.tcp('127.0.0.1', 7272)
|
30
30
|
|
31
31
|
container = Async::Container.new
|
32
32
|
|
data/lib/async/http/body/pipe.rb
CHANGED
@@ -1,12 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2019-
|
4
|
+
# Copyright, 2019-2024, by Samuel Williams.
|
5
5
|
# Copyright, 2020, by Bruno Sutic.
|
6
6
|
|
7
|
-
require 'async/io/socket'
|
8
|
-
require 'async/io/stream'
|
9
|
-
|
10
7
|
require_relative 'writable'
|
11
8
|
|
12
9
|
module Async
|
@@ -18,9 +15,9 @@ module Async
|
|
18
15
|
@input = input
|
19
16
|
@output = output
|
20
17
|
|
21
|
-
head, tail =
|
18
|
+
head, tail = ::Socket.pair(Socket::AF_UNIX, Socket::SOCK_STREAM)
|
22
19
|
|
23
|
-
@head = IO::Stream.new(head)
|
20
|
+
@head = ::IO::Stream::Buffered.new(head)
|
24
21
|
@tail = tail
|
25
22
|
|
26
23
|
@reader = nil
|
data/lib/async/http/client.rb
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2017-
|
4
|
+
# Copyright, 2017-2024, by Samuel Williams.
|
5
5
|
# Copyright, 2022, by Ian Ker-Seymer.
|
6
6
|
|
7
|
-
require '
|
8
|
-
require 'async/io/stream'
|
7
|
+
require 'io/endpoint'
|
9
8
|
|
10
9
|
require 'async/pool/controller'
|
11
10
|
|
@@ -42,6 +41,20 @@ module Async
|
|
42
41
|
@authority = authority
|
43
42
|
end
|
44
43
|
|
44
|
+
def as_json(...)
|
45
|
+
{
|
46
|
+
endpoint: @endpoint.to_s,
|
47
|
+
protocol: @protocol,
|
48
|
+
retries: @retries,
|
49
|
+
scheme: @scheme,
|
50
|
+
authority: @authority,
|
51
|
+
}
|
52
|
+
end
|
53
|
+
|
54
|
+
def to_json(...)
|
55
|
+
as_json.to_json(...)
|
56
|
+
end
|
57
|
+
|
45
58
|
attr :endpoint
|
46
59
|
attr :protocol
|
47
60
|
|
@@ -93,7 +106,6 @@ module Async
|
|
93
106
|
|
94
107
|
# This signals that the ensure block below should not try to release the connection, because it's bound into the response which will be returned:
|
95
108
|
connection = nil
|
96
|
-
|
97
109
|
return response
|
98
110
|
rescue Protocol::RequestFailed
|
99
111
|
# This is a specific case where the entire request wasn't sent before a failure occurred. So, we can even resend non-idempotent requests.
|
@@ -119,7 +131,9 @@ module Async
|
|
119
131
|
raise
|
120
132
|
end
|
121
133
|
ensure
|
122
|
-
|
134
|
+
if connection
|
135
|
+
@pool.release(connection)
|
136
|
+
end
|
123
137
|
end
|
124
138
|
end
|
125
139
|
|
data/lib/async/http/endpoint.rb
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2019-
|
4
|
+
# Copyright, 2019-2024, by Samuel Williams.
|
5
5
|
# Copyright, 2021-2022, by Adam Daniels.
|
6
6
|
|
7
|
-
require '
|
8
|
-
require '
|
9
|
-
require '
|
10
|
-
require 'async/io/shared_endpoint'
|
7
|
+
require 'io/endpoint'
|
8
|
+
require 'io/endpoint/host_endpoint'
|
9
|
+
require 'io/endpoint/ssl_endpoint'
|
11
10
|
|
12
11
|
require_relative 'protocol/http1'
|
13
12
|
require_relative 'protocol/https'
|
@@ -15,7 +14,7 @@ require_relative 'protocol/https'
|
|
15
14
|
module Async
|
16
15
|
module HTTP
|
17
16
|
# Represents a way to connect to a remote HTTP server.
|
18
|
-
class Endpoint <
|
17
|
+
class Endpoint < ::IO::Endpoint::Generic
|
19
18
|
def self.parse(string, endpoint = nil, **options)
|
20
19
|
url = URI.parse(string).normalize
|
21
20
|
|
@@ -164,7 +163,7 @@ module Async
|
|
164
163
|
|
165
164
|
if secure?
|
166
165
|
# Wrap it in SSL:
|
167
|
-
return
|
166
|
+
return ::IO::Endpoint::SSLEndpoint.new(endpoint,
|
168
167
|
ssl_context: self.ssl_context,
|
169
168
|
hostname: @url.hostname,
|
170
169
|
timeout: self.timeout,
|
@@ -226,7 +225,7 @@ module Async
|
|
226
225
|
end
|
227
226
|
|
228
227
|
def tcp_endpoint
|
229
|
-
|
228
|
+
::IO::Endpoint.tcp(self.hostname, port, **tcp_options)
|
230
229
|
end
|
231
230
|
end
|
232
231
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2018-
|
4
|
+
# Copyright, 2018-2024, by Samuel Williams.
|
5
5
|
|
6
6
|
require 'protocol/http1'
|
7
7
|
|
@@ -20,6 +20,18 @@ module Async
|
|
20
20
|
@version = version
|
21
21
|
end
|
22
22
|
|
23
|
+
def to_s
|
24
|
+
"\#<#{self.class} negotiated #{@version}, currently #{@ready ? 'ready' : 'in-use'}>"
|
25
|
+
end
|
26
|
+
|
27
|
+
def as_json(...)
|
28
|
+
to_s
|
29
|
+
end
|
30
|
+
|
31
|
+
def to_json(...)
|
32
|
+
as_json.to_json(...)
|
33
|
+
end
|
34
|
+
|
23
35
|
attr :version
|
24
36
|
|
25
37
|
def http1?
|
@@ -50,7 +62,7 @@ module Async
|
|
50
62
|
|
51
63
|
# Can we use this connection to make requests?
|
52
64
|
def viable?
|
53
|
-
@ready && @stream&.
|
65
|
+
@ready && @stream&.readable?
|
54
66
|
end
|
55
67
|
|
56
68
|
def reusable?
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2018-
|
4
|
+
# Copyright, 2018-2024, by Samuel Williams.
|
5
5
|
|
6
6
|
require_relative '../request'
|
7
7
|
|
@@ -15,7 +15,7 @@ module Async
|
|
15
15
|
self.new(connection, *parts)
|
16
16
|
end
|
17
17
|
end
|
18
|
-
|
18
|
+
|
19
19
|
UPGRADE = 'upgrade'
|
20
20
|
|
21
21
|
def initialize(connection, authority, method, path, version, headers, body)
|
@@ -1,9 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2018-
|
4
|
+
# Copyright, 2018-2024, by Samuel Williams.
|
5
5
|
# Copyright, 2020, by Igor Sidorov.
|
6
6
|
# Copyright, 2023, by Thomas Morgan.
|
7
|
+
# Copyright, 2024, by Anton Zhuravsky.
|
7
8
|
|
8
9
|
require_relative 'connection'
|
9
10
|
|
@@ -14,10 +15,10 @@ module Async
|
|
14
15
|
class Server < Connection
|
15
16
|
def fail_request(status)
|
16
17
|
@persistent = false
|
17
|
-
write_response(@version, status, {}
|
18
|
+
write_response(@version, status, {})
|
18
19
|
write_body(@version, nil)
|
19
20
|
rescue Errno::ECONNRESET, Errno::EPIPE
|
20
|
-
#
|
21
|
+
# Nothing we can do...
|
21
22
|
end
|
22
23
|
|
23
24
|
def next_request
|
@@ -109,7 +110,6 @@ module Async
|
|
109
110
|
end
|
110
111
|
end
|
111
112
|
end
|
112
|
-
|
113
113
|
end
|
114
114
|
end
|
115
115
|
end
|
@@ -1,11 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2017-
|
4
|
+
# Copyright, 2017-2024, by Samuel Williams.
|
5
5
|
|
6
6
|
require_relative 'http1/client'
|
7
7
|
require_relative 'http1/server'
|
8
8
|
|
9
|
+
require 'io/stream/buffered'
|
10
|
+
|
9
11
|
module Async
|
10
12
|
module HTTP
|
11
13
|
module Protocol
|
@@ -21,13 +23,13 @@ module Async
|
|
21
23
|
end
|
22
24
|
|
23
25
|
def self.client(peer)
|
24
|
-
stream = IO::Stream.
|
26
|
+
stream = ::IO::Stream::Buffered.wrap(peer)
|
25
27
|
|
26
28
|
return HTTP1::Client.new(stream, VERSION)
|
27
29
|
end
|
28
30
|
|
29
31
|
def self.server(peer)
|
30
|
-
stream = IO::Stream.
|
32
|
+
stream = ::IO::Stream::Buffered.wrap(peer)
|
31
33
|
|
32
34
|
return HTTP1::Server.new(stream, VERSION)
|
33
35
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2017-
|
4
|
+
# Copyright, 2017-2024, by Samuel Williams.
|
5
5
|
|
6
6
|
require_relative 'http1'
|
7
7
|
|
@@ -20,13 +20,13 @@ module Async
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def self.client(peer)
|
23
|
-
stream = IO::Stream.
|
23
|
+
stream = ::IO::Stream::Buffered.wrap(peer)
|
24
24
|
|
25
25
|
return HTTP1::Client.new(stream, VERSION)
|
26
26
|
end
|
27
27
|
|
28
28
|
def self.server(peer)
|
29
|
-
stream = IO::Stream.
|
29
|
+
stream = ::IO::Stream::Buffered.wrap(peer)
|
30
30
|
|
31
31
|
return HTTP1::Server.new(stream, VERSION)
|
32
32
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2017-
|
4
|
+
# Copyright, 2017-2024, by Samuel Williams.
|
5
5
|
# Copyright, 2018, by Janko Marohnić.
|
6
6
|
|
7
7
|
require_relative 'http1'
|
@@ -21,13 +21,13 @@ module Async
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def self.client(peer)
|
24
|
-
stream = IO::Stream.
|
24
|
+
stream = ::IO::Stream::Buffered.wrap(peer)
|
25
25
|
|
26
26
|
return HTTP1::Client.new(stream, VERSION)
|
27
27
|
end
|
28
28
|
|
29
29
|
def self.server(peer)
|
30
|
-
stream = IO::Stream.
|
30
|
+
stream = ::IO::Stream::Buffered.wrap(peer)
|
31
31
|
|
32
32
|
return HTTP1::Server.new(stream, VERSION)
|
33
33
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2018-
|
4
|
+
# Copyright, 2018-2024, by Samuel Williams.
|
5
5
|
# Copyright, 2020, by Bruno Sutic.
|
6
6
|
|
7
7
|
require_relative 'stream'
|
@@ -35,8 +35,20 @@ module Async
|
|
35
35
|
@write_frame_guard = Async::Semaphore.new(1)
|
36
36
|
end
|
37
37
|
|
38
|
+
def synchronize(&block)
|
39
|
+
@write_frame_guard.acquire(&block)
|
40
|
+
end
|
41
|
+
|
38
42
|
def to_s
|
39
|
-
"\#<#{self.class} #{@streams.count} active streams>"
|
43
|
+
"\#<#{self.class} #{@count} requests, #{@streams.count} active streams>"
|
44
|
+
end
|
45
|
+
|
46
|
+
def as_json(...)
|
47
|
+
to_s
|
48
|
+
end
|
49
|
+
|
50
|
+
def to_json(...)
|
51
|
+
as_json.to_json(...)
|
40
52
|
end
|
41
53
|
|
42
54
|
attr :stream
|
@@ -64,23 +76,6 @@ module Async
|
|
64
76
|
end
|
65
77
|
end
|
66
78
|
|
67
|
-
def write_frame(frame)
|
68
|
-
# We don't want to write multiple frames at the same time.
|
69
|
-
@write_frame_guard.acquire do
|
70
|
-
super
|
71
|
-
end
|
72
|
-
|
73
|
-
@stream.flush
|
74
|
-
end
|
75
|
-
|
76
|
-
def write_frames(&block)
|
77
|
-
@write_frame_guard.acquire do
|
78
|
-
super
|
79
|
-
end
|
80
|
-
|
81
|
-
@stream.flush
|
82
|
-
end
|
83
|
-
|
84
79
|
def read_in_background(parent: Task.current)
|
85
80
|
raise RuntimeError, "Connection is closed!" if closed?
|
86
81
|
|
@@ -95,19 +90,18 @@ module Async
|
|
95
90
|
self.consume_window
|
96
91
|
self.read_frame
|
97
92
|
end
|
98
|
-
rescue
|
99
|
-
# Ignore.
|
100
|
-
rescue ::Protocol::HTTP2::GoawayError => error
|
93
|
+
rescue Async::Stop, ::IO::TimeoutError, ::Protocol::HTTP2::GoawayError => error
|
101
94
|
# Error is raised if a response is actively reading from the
|
102
95
|
# connection. The connection is silently closed if GOAWAY is
|
103
96
|
# received outside the request/response cycle.
|
104
|
-
|
105
|
-
|
106
|
-
|
97
|
+
rescue SocketError, IOError, EOFError, Errno::ECONNRESET, Errno::EPIPE => ignored_error
|
98
|
+
# Ignore.
|
99
|
+
rescue => error
|
100
|
+
# Every other error.
|
107
101
|
ensure
|
108
102
|
# Don't call #close twice.
|
109
103
|
if @reader
|
110
|
-
self.close(
|
104
|
+
self.close(error)
|
111
105
|
end
|
112
106
|
end
|
113
107
|
end
|
@@ -127,7 +121,7 @@ module Async
|
|
127
121
|
|
128
122
|
# Can we use this connection to make requests?
|
129
123
|
def viable?
|
130
|
-
@stream
|
124
|
+
@stream&.readable?
|
131
125
|
end
|
132
126
|
|
133
127
|
def reusable?
|
@@ -1,8 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2018-
|
4
|
+
# Copyright, 2018-2024, by Samuel Williams.
|
5
5
|
# Copyright, 2022, by Marco Concetto Rudilosso.
|
6
|
+
# Copyright, 2023, by Thomas Morgan.
|
6
7
|
|
7
8
|
require 'protocol/http2/stream'
|
8
9
|
|
@@ -1,11 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2018-
|
4
|
+
# Copyright, 2018-2024, by Samuel Williams.
|
5
5
|
|
6
6
|
require_relative 'http2/client'
|
7
7
|
require_relative 'http2/server'
|
8
8
|
|
9
|
+
require 'io/stream/buffered'
|
10
|
+
|
9
11
|
module Async
|
10
12
|
module HTTP
|
11
13
|
module Protocol
|
@@ -35,8 +37,7 @@ module Async
|
|
35
37
|
}
|
36
38
|
|
37
39
|
def self.client(peer, settings = CLIENT_SETTINGS)
|
38
|
-
stream = IO::Stream.
|
39
|
-
|
40
|
+
stream = ::IO::Stream::Buffered.wrap(peer)
|
40
41
|
client = Client.new(stream)
|
41
42
|
|
42
43
|
client.send_connection_preface(settings)
|
@@ -46,8 +47,7 @@ module Async
|
|
46
47
|
end
|
47
48
|
|
48
49
|
def self.server(peer, settings = SERVER_SETTINGS)
|
49
|
-
stream = IO::Stream.
|
50
|
-
|
50
|
+
stream = ::IO::Stream::Buffered.wrap(peer)
|
51
51
|
server = Server.new(stream)
|
52
52
|
|
53
53
|
server.read_connection_preface(settings)
|
data/lib/async/http/proxy.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2019-
|
4
|
+
# Copyright, 2019-2024, by Samuel Williams.
|
5
5
|
|
6
6
|
require_relative 'client'
|
7
7
|
require_relative 'endpoint'
|
@@ -46,7 +46,7 @@ module Async
|
|
46
46
|
# @param host [String] the hostname or address to connect to.
|
47
47
|
# @param port [String] the port number to connect to.
|
48
48
|
# @param headers [Array] an optional list of headers to use when establishing the connection.
|
49
|
-
# @see
|
49
|
+
# @see IO::Endpoint#tcp
|
50
50
|
def self.tcp(client, host, port, headers = nil)
|
51
51
|
self.new(client, "#{host}:#{port}", headers)
|
52
52
|
end
|
data/lib/async/http/server.rb
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2017-
|
4
|
+
# Copyright, 2017-2024, by Samuel Williams.
|
5
5
|
# Copyright, 2019, by Brian Morearty.
|
6
6
|
|
7
|
-
require '
|
8
|
-
require 'async/io/stream'
|
7
|
+
require 'io/endpoint'
|
9
8
|
|
10
9
|
require 'protocol/http/middleware'
|
11
10
|
|
@@ -28,6 +27,18 @@ module Async
|
|
28
27
|
@scheme = scheme
|
29
28
|
end
|
30
29
|
|
30
|
+
def as_json(...)
|
31
|
+
{
|
32
|
+
endpoint: @endpoint.to_s,
|
33
|
+
protocol: @protocol,
|
34
|
+
scheme: @scheme,
|
35
|
+
}
|
36
|
+
end
|
37
|
+
|
38
|
+
def to_json(...)
|
39
|
+
as_json.to_json(...)
|
40
|
+
end
|
41
|
+
|
31
42
|
attr :endpoint
|
32
43
|
attr :protocol
|
33
44
|
attr :scheme
|
@@ -53,7 +64,7 @@ module Async
|
|
53
64
|
ensure
|
54
65
|
connection&.close
|
55
66
|
end
|
56
|
-
|
67
|
+
|
57
68
|
def run
|
58
69
|
@endpoint.accept(&self.method(:accept))
|
59
70
|
end
|
data/lib/async/http/version.rb
CHANGED
data/license.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# MIT License
|
2
2
|
|
3
|
-
Copyright, 2017-
|
3
|
+
Copyright, 2017-2024, by Samuel Williams.
|
4
4
|
Copyright, 2018, by Viacheslav Koval.
|
5
5
|
Copyright, 2018, by Janko Marohnić.
|
6
6
|
Copyright, 2019, by Denis Talakevich.
|
@@ -18,6 +18,9 @@ Copyright, 2022, by Ian Ker-Seymer.
|
|
18
18
|
Copyright, 2022, by Marco Concetto Rudilosso.
|
19
19
|
Copyright, 2022, by Tim Meusel.
|
20
20
|
Copyright, 2023, by Thomas Morgan.
|
21
|
+
Copyright, 2023, by dependabot[bot].
|
22
|
+
Copyright, 2023, by Josh Huber.
|
23
|
+
Copyright, 2024, by Anton Zhuravsky.
|
21
24
|
|
22
25
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
23
26
|
of this software and associated documentation files (the "Software"), to deal
|
data/readme.md
CHANGED
@@ -373,7 +373,7 @@ This project uses the [Developer Certificate of Origin](https://developercertifi
|
|
373
373
|
|
374
374
|
### Contributor Covenant
|
375
375
|
|
376
|
-
This project is governed by [Contributor Covenant](https://www.contributor-covenant.org/). All contributors and participants agree to abide by its terms.
|
376
|
+
This project is governed by the [Contributor Covenant](https://www.contributor-covenant.org/). All contributors and participants agree to abide by its terms.
|
377
377
|
|
378
378
|
## See Also
|
379
379
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,19 +1,21 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async-http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.65.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
- Brian Morearty
|
9
9
|
- Bruno Sutic
|
10
10
|
- Janko Marohnić
|
11
|
-
- Adam Daniels
|
12
11
|
- Thomas Morgan
|
12
|
+
- Adam Daniels
|
13
|
+
- Anton Zhuravsky
|
13
14
|
- Cyril Roelandt
|
14
15
|
- Denis Talakevich
|
15
16
|
- Ian Ker-Seymer
|
16
17
|
- Igor Sidorov
|
18
|
+
- Josh Huber
|
17
19
|
- Marco Concetto Rudilosso
|
18
20
|
- Olle Jonsson
|
19
21
|
- Orgad Shaneh
|
@@ -22,6 +24,7 @@ authors:
|
|
22
24
|
- Tim Meusel
|
23
25
|
- Trevor Turk
|
24
26
|
- Viacheslav Koval
|
27
|
+
- dependabot[bot]
|
25
28
|
autorequire:
|
26
29
|
bindir: bin
|
27
30
|
cert_chain:
|
@@ -54,7 +57,7 @@ cert_chain:
|
|
54
57
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
55
58
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
56
59
|
-----END CERTIFICATE-----
|
57
|
-
date: 2024-04-
|
60
|
+
date: 2024-04-23 00:00:00.000000000 Z
|
58
61
|
dependencies:
|
59
62
|
- !ruby/object:Gem::Dependency
|
60
63
|
name: async
|
@@ -62,42 +65,56 @@ dependencies:
|
|
62
65
|
requirements:
|
63
66
|
- - ">="
|
64
67
|
- !ruby/object:Gem::Version
|
65
|
-
version:
|
68
|
+
version: 2.10.2
|
66
69
|
type: :runtime
|
67
70
|
prerelease: false
|
68
71
|
version_requirements: !ruby/object:Gem::Requirement
|
69
72
|
requirements:
|
70
73
|
- - ">="
|
71
74
|
- !ruby/object:Gem::Version
|
72
|
-
version:
|
75
|
+
version: 2.10.2
|
73
76
|
- !ruby/object:Gem::Dependency
|
74
|
-
name: async-
|
77
|
+
name: async-pool
|
75
78
|
requirement: !ruby/object:Gem::Requirement
|
76
79
|
requirements:
|
77
80
|
- - ">="
|
78
81
|
- !ruby/object:Gem::Version
|
79
|
-
version:
|
82
|
+
version: 0.6.1
|
80
83
|
type: :runtime
|
81
84
|
prerelease: false
|
82
85
|
version_requirements: !ruby/object:Gem::Requirement
|
83
86
|
requirements:
|
84
87
|
- - ">="
|
85
88
|
- !ruby/object:Gem::Version
|
86
|
-
version:
|
89
|
+
version: 0.6.1
|
87
90
|
- !ruby/object:Gem::Dependency
|
88
|
-
name:
|
91
|
+
name: io-endpoint
|
89
92
|
requirement: !ruby/object:Gem::Requirement
|
90
93
|
requirements:
|
91
|
-
- - "
|
94
|
+
- - "~>"
|
92
95
|
- !ruby/object:Gem::Version
|
93
|
-
version:
|
96
|
+
version: 0.10.0
|
94
97
|
type: :runtime
|
95
98
|
prerelease: false
|
96
99
|
version_requirements: !ruby/object:Gem::Requirement
|
97
100
|
requirements:
|
98
|
-
- - "
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.10.0
|
104
|
+
- !ruby/object:Gem::Dependency
|
105
|
+
name: io-stream
|
106
|
+
requirement: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.3.0
|
111
|
+
type: :runtime
|
112
|
+
prerelease: false
|
113
|
+
version_requirements: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
99
116
|
- !ruby/object:Gem::Version
|
100
|
-
version:
|
117
|
+
version: 0.3.0
|
101
118
|
- !ruby/object:Gem::Dependency
|
102
119
|
name: protocol-http
|
103
120
|
requirement: !ruby/object:Gem::Requirement
|
@@ -132,14 +149,14 @@ dependencies:
|
|
132
149
|
requirements:
|
133
150
|
- - "~>"
|
134
151
|
- !ruby/object:Gem::Version
|
135
|
-
version: 0.
|
152
|
+
version: 0.17.0
|
136
153
|
type: :runtime
|
137
154
|
prerelease: false
|
138
155
|
version_requirements: !ruby/object:Gem::Requirement
|
139
156
|
requirements:
|
140
157
|
- - "~>"
|
141
158
|
- !ruby/object:Gem::Version
|
142
|
-
version: 0.
|
159
|
+
version: 0.17.0
|
143
160
|
- !ruby/object:Gem::Dependency
|
144
161
|
name: traces
|
145
162
|
requirement: !ruby/object:Gem::Requirement
|
@@ -205,7 +222,9 @@ files:
|
|
205
222
|
homepage: https://github.com/socketry/async-http
|
206
223
|
licenses:
|
207
224
|
- MIT
|
208
|
-
metadata:
|
225
|
+
metadata:
|
226
|
+
documentation_uri: https://socketry.github.io/async-http/
|
227
|
+
source_code_uri: https://github.com/socketry/async-http.git
|
209
228
|
post_install_message:
|
210
229
|
rdoc_options: []
|
211
230
|
require_paths:
|
@@ -214,7 +233,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
214
233
|
requirements:
|
215
234
|
- - ">="
|
216
235
|
- !ruby/object:Gem::Version
|
217
|
-
version: '3.
|
236
|
+
version: '3.1'
|
218
237
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
219
238
|
requirements:
|
220
239
|
- - ">="
|
metadata.gz.sig
CHANGED
Binary file
|