async-io 1.16.2 → 1.16.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/async/io/socket.rb +4 -0
- data/lib/async/io/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 847e84fe9fda1ce17c764e6ae69db03ff9afea9bb6edd6a915840ba3cf123a3d
|
4
|
+
data.tar.gz: 66efd170f4ef6f322f68cce22f362063b2b746a7fb283aa9fd84656ec62ab19d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43efad41877e3df3b846deddd7e5bf16248faec868796f41517b11ec0810d5d277ff3b370a6aae13252f8da0fc3ada9b2d2909d2ba60610d49c0a3bf7b331117
|
7
|
+
data.tar.gz: fe90898d2ea0897f13c6456c2bb9d11dd6abc37b66355f63633d1c0294be25fcb4222b559dc709d0a8daef77f1f3e36ac714e66a14f7afe9fae35e3de5e3d8c4
|
data/lib/async/io/socket.rb
CHANGED
@@ -36,6 +36,10 @@ module Async
|
|
36
36
|
|
37
37
|
# Either there was some data available, or we can wait to see if there is data avaialble.
|
38
38
|
return !result.empty? || result == :wait_readable
|
39
|
+
|
40
|
+
rescue Errno::ECONNRESET
|
41
|
+
# This might be thrown by recv_nonblock.
|
42
|
+
return false
|
39
43
|
end
|
40
44
|
end
|
41
45
|
|
data/lib/async/io/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async-io
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.16.
|
4
|
+
version: 1.16.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async
|