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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2072bc1fb01520b26bddf0efe77da35d52ec5c7312042b3da68a0729b17c4285
4
- data.tar.gz: 528be9e64f5e28e00f1ed906fa88e1d6ca479be15e9f87a891b4e534f8aaa33a
3
+ metadata.gz: def479574f952d5500c926a93e81a6832a1b0e2c635adf2fbff1bdaec7bb4313
4
+ data.tar.gz: fee23c32549c5925b3ea3a406dc29b7a85104e92fc9c3e8c97de1bbbd0115f47
5
5
  SHA512:
6
- metadata.gz: f396ab427ec9c93960515d5d94c0505d1750c132d69c126572c475e45e9e8206fd36e33df1b48d31e992fc342803d8c03db79a1806468fa8e04c93505e5f90ae
7
- data.tar.gz: 46f7e9c650c278f5a04349cf357cfbe57e7da0ef756ab2f695e55d20bb5e5f505722af7ce547e2a397c2a0fbac3a2cff6a8c3cc5288de913e270d435282e70d2
6
+ metadata.gz: 0caa8fa8e0809b771c4261f24b3e160123a09f6205fe1f86a912244aa5b1ae9a199ccf9438eb849076e2852a7fcf54f84fa488864af6c29f30f74589f32c4f48
7
+ data.tar.gz: 6de884b5fc34042a339a3dfa85a9281c012dbefec676fb77a302609980e22fe94ccbcd41edfb1826e1b6d3642056e015afa5dedaa4d053b9c098533836cf8d57
@@ -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
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Async
22
22
  module HTTP
23
- VERSION = "0.33.0"
23
+ VERSION = "0.33.1"
24
24
  end
25
25
  end
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.0
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-02 00:00:00.000000000 Z
11
+ date: 2018-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async