async-http 0.59.1 → 0.59.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9c1723c67062bba48acefa3d4c2a5f91a3834b17eb766f2bf215e20bc6c9836
4
- data.tar.gz: 85ce6e5ad1d7be8b014c984423de2ff561a25276ba18c4224251718d6c3e5d39
3
+ metadata.gz: ccef95a0cce84077c1782720ea14a582822ef0431d60fa98303b88437d072636
4
+ data.tar.gz: 397a5e8ed0cb1d4ed5ca58190e1c7ab344cabfff040d90df57fe1c49c1ca5360
5
5
  SHA512:
6
- metadata.gz: 3972ca0631829425e8e13b2abf0460b19ce4d4f0e365e2b12f784c0eaebaf3288aed5315766466529d7f9bae85c5cdfb3a3bfa5bf754095897d9f3ad68f0e8e2
7
- data.tar.gz: e35b08e0e192a8920a2cbc077580b0a5135073cc2279d6f5eff96ed5e9549197b8ceb942b773762acb0f753e8a2d037dee5087d3388503b0368b6115fc1c275f
6
+ metadata.gz: 8e0194004b779c0107157cae272fbd9f3c75a050736b2c682d82507a26a88c7dd15e74dc1f3ca1e513ba8f2c1d0697103acf5a5edf172e617c5833cb11094dde
7
+ data.tar.gz: 3c19cffb3030cf3b6b88091ef6818cf0339f01f5f52e6e35c704d9228d2b961af47f51d74995a7f83c19f1aa8405979d93cd612f8cd67d70492c71b02207c945
checksums.yaml.gz.sig CHANGED
Binary file
@@ -161,7 +161,7 @@ module Async
161
161
  end
162
162
 
163
163
  trace('async.http.client.call', attributes: attributes) do |span|
164
- if context = trace_context(span)
164
+ if context = self.trace_context
165
165
  request.headers['traceparent'] = context.to_s
166
166
  # request.headers['tracestate'] = context.state
167
167
  end
@@ -61,7 +61,12 @@ module Async
61
61
  while request = next_request
62
62
  response = yield(request, self)
63
63
  body = response&.body
64
-
64
+
65
+ if @stream.nil? and body.nil?
66
+ # Full hijack.
67
+ return
68
+ end
69
+
65
70
  begin
66
71
  # If a response was generated, send it:
67
72
  if response
@@ -22,6 +22,6 @@
22
22
 
23
23
  module Async
24
24
  module HTTP
25
- VERSION = "0.59.1"
25
+ VERSION = "0.59.3"
26
26
  end
27
27
  end
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.59.1
4
+ version: 0.59.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -52,7 +52,7 @@ cert_chain:
52
52
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
53
53
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
54
54
  -----END CERTIFICATE-----
55
- date: 2022-08-17 00:00:00.000000000 Z
55
+ date: 2022-11-10 00:00:00.000000000 Z
56
56
  dependencies:
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: async
@@ -144,14 +144,14 @@ dependencies:
144
144
  requirements:
145
145
  - - ">="
146
146
  - !ruby/object:Gem::Version
147
- version: 0.4.0
147
+ version: 0.8.0
148
148
  type: :runtime
149
149
  prerelease: false
150
150
  version_requirements: !ruby/object:Gem::Requirement
151
151
  requirements:
152
152
  - - ">="
153
153
  - !ruby/object:Gem::Version
154
- version: 0.4.0
154
+ version: 0.8.0
155
155
  - !ruby/object:Gem::Dependency
156
156
  name: async-container
157
157
  requirement: !ruby/object:Gem::Requirement
@@ -301,7 +301,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
301
301
  - !ruby/object:Gem::Version
302
302
  version: '0'
303
303
  requirements: []
304
- rubygems_version: 3.1.6
304
+ rubygems_version: 3.3.7
305
305
  signing_key:
306
306
  specification_version: 4
307
307
  summary: A HTTP client and server library.
metadata.gz.sig CHANGED
Binary file