async-io 1.8.4 → 1.8.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +5 -0
- data/lib/async/io/generic.rb +6 -0
- data/lib/async/io/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5af912a19bd43e7d4c48af0a6835e730ae2dc1755a2454a4e9b35c46cffbd88
|
4
|
+
data.tar.gz: f660b9e73b7508611bda24f3e68fcc4990da4560d16acce7b8ed0e70fc607e2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61f47c817d26b85353da538952e01bd0884c42b385fa4eaff26d1666e411d44e46567ceea49aa3510e3706b03370a9a9fda35a928b1119557e4829a12db4a791
|
7
|
+
data.tar.gz: e429a7a262b6e6824667e9d7f68c2c29f5ddb385d3d5b95301d3bbbb8a2f918300929a804bcc5493fa18ab51c2fc58707f075c0ae902f5b8d96c96809e0ebd67
|
data/.travis.yml
CHANGED
data/lib/async/io/generic.rb
CHANGED
@@ -124,6 +124,8 @@ module Async
|
|
124
124
|
async do
|
125
125
|
@io.__send__(*args, exception: false)
|
126
126
|
end
|
127
|
+
rescue Errno::EPROTOTYPE
|
128
|
+
raise Errno::EPIPE
|
127
129
|
end
|
128
130
|
|
129
131
|
def async
|
@@ -155,6 +157,8 @@ module Async
|
|
155
157
|
wait_readable
|
156
158
|
rescue ::IO::WaitWritable, ::IO::EAGAINWaitWritable
|
157
159
|
wait_writable
|
160
|
+
rescue Errno::EPROTOTYPE
|
161
|
+
raise Errno::EPIPE
|
158
162
|
end
|
159
163
|
end
|
160
164
|
end
|
@@ -174,6 +178,8 @@ module Async
|
|
174
178
|
wait_readable
|
175
179
|
rescue ::IO::WaitWritable
|
176
180
|
wait_writable
|
181
|
+
rescue Errno::EPROTOTYPE
|
182
|
+
raise Errno::EPIPE
|
177
183
|
end
|
178
184
|
end
|
179
185
|
end
|
data/lib/async/io/version.rb
CHANGED