async-http 0.33.0 → 0.33.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/async/http/server.rb +2 -1
- data/lib/async/http/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: def479574f952d5500c926a93e81a6832a1b0e2c635adf2fbff1bdaec7bb4313
|
4
|
+
data.tar.gz: fee23c32549c5925b3ea3a406dc29b7a85104e92fc9c3e8c97de1bbbd0115f47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0caa8fa8e0809b771c4261f24b3e160123a09f6205fe1f86a912244aa5b1ae9a199ccf9438eb849076e2852a7fcf54f84fa488864af6c29f30f74589f32c4f48
|
7
|
+
data.tar.gz: 6de884b5fc34042a339a3dfa85a9281c012dbefec676fb77a302609980e22fe94ccbcd41edfb1826e1b6d3642056e015afa5dedaa4d053b9c098533836cf8d57
|
data/lib/async/http/server.rb
CHANGED
@@ -52,8 +52,9 @@ module Async
|
|
52
52
|
# If this returns nil, we assume that the connection has been hijacked.
|
53
53
|
self.call(request)
|
54
54
|
end
|
55
|
-
rescue EOFError, Errno::ECONNRESET, Errno::EPIPE
|
55
|
+
rescue EOFError, Errno::ECONNRESET, Errno::EPIPE, Errno::EPROTOTYPE
|
56
56
|
# Sometimes client will disconnect without completing a result or reading the entire buffer. That means we are done.
|
57
|
+
# Errno::EPROTOTYPE is a bug with Darwin. It happens because the socket is lazily created (in Darwin).
|
57
58
|
end
|
58
59
|
|
59
60
|
def run
|
data/lib/async/http/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async-http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.33.
|
4
|
+
version: 0.33.1
|
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-
|
11
|
+
date: 2018-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async
|