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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75f6a63033122d073826af1192a8993d1ecfca0e78820b60421f95dadaac2fea
4
- data.tar.gz: d2f32d91cda9e88a1a366a9a072a62e118a7427019b643a5ef2946ac0a8b55e5
3
+ metadata.gz: 847e84fe9fda1ce17c764e6ae69db03ff9afea9bb6edd6a915840ba3cf123a3d
4
+ data.tar.gz: 66efd170f4ef6f322f68cce22f362063b2b746a7fb283aa9fd84656ec62ab19d
5
5
  SHA512:
6
- metadata.gz: 402f1ba7007d6c24fbd963ada3bdd7ba4d37a82075ab38029ef09bf640b7107469be94d94c6dddd3376fb42fafaa8197eb403d272c6eb97b70ef121903c29c24
7
- data.tar.gz: 3f72a92843d27ad462b940e34af302e7f0903c023382fdc379f7170988a9fdbfa71edba0f26cc347b8dcaeea5fb9164eeaafc0af474ce0558e0061e93e91061d
6
+ metadata.gz: 43efad41877e3df3b846deddd7e5bf16248faec868796f41517b11ec0810d5d277ff3b370a6aae13252f8da0fc3ada9b2d2909d2ba60610d49c0a3bf7b331117
7
+ data.tar.gz: fe90898d2ea0897f13c6456c2bb9d11dd6abc37b66355f63633d1c0294be25fcb4222b559dc709d0a8daef77f1f3e36ac714e66a14f7afe9fae35e3de5e3d8c4
@@ -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
 
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Async
22
22
  module IO
23
- VERSION = "1.16.2"
23
+ VERSION = "1.16.3"
24
24
  end
25
25
  end
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.2
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-10-30 00:00:00.000000000 Z
11
+ date: 2018-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async