async-http 0.41.0 → 0.41.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/async-http.gemspec +1 -1
- data/lib/async/http/protocol/http1/connection.rb +3 -4
- data/lib/async/http/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f706f545028ae3c80415ddedb64e930b1fc5a8af6774f74dd80be5747693d4fd
|
4
|
+
data.tar.gz: 7efce248fc3771df87d393fc2dfbc8eaf9f021ca6cf121cbcc2f57d50a689480
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f074faf45bca7f0c43d2fe322a17e7512341b5ac6ffce029faa3327a7e2a4a28e956b566d41615e0ac3ce0b2b919239e0d6c181d89172ceb20c17b19f8ab9cf6
|
7
|
+
data.tar.gz: d2d4636bedc2faa12cca31acec479e62be04cdb6c140146554f0f46f542821d092e5b1aea24932a58de0793b4ed9d3e5dc68a37b2a2ba44e126873d0d3cd6778
|
data/async-http.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.add_dependency("async-io", "~> 1.18")
|
21
21
|
|
22
22
|
spec.add_dependency("protocol-http", "~> 0.5.0")
|
23
|
-
spec.add_dependency("protocol-http1", "~> 0.
|
23
|
+
spec.add_dependency("protocol-http1", "~> 0.7.0")
|
24
24
|
spec.add_dependency("protocol-http2", "~> 0.3.0")
|
25
25
|
|
26
26
|
# spec.add_dependency("openssl")
|
@@ -60,18 +60,17 @@ module Async
|
|
60
60
|
|
61
61
|
# Can we use this connection to make requests?
|
62
62
|
def connected?
|
63
|
-
@stream
|
63
|
+
@stream&.connected?
|
64
64
|
end
|
65
65
|
|
66
66
|
def reusable?
|
67
|
-
!@stream.closed?
|
67
|
+
@stream && !@stream.closed?
|
68
68
|
# !(self.closed? || @stream.closed?)
|
69
69
|
end
|
70
70
|
|
71
71
|
def close
|
72
72
|
Async.logger.debug(self) {"Closing connection"}
|
73
|
-
|
74
|
-
@stream.close
|
73
|
+
super
|
75
74
|
end
|
76
75
|
end
|
77
76
|
end
|
data/lib/async/http/version.rb
CHANGED
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.41.
|
4
|
+
version: 0.41.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.7.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: 0.7.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: protocol-http2
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|