fast_send 1.2.1 → 1.2.2

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: 6e2c4890b5649cc57d8ada06a7d603dce77e5d98f3fed5f08cc8509f36b2f474
4
- data.tar.gz: 55bbe6a60c743baf0b587f9d8b9f11141110f6fe8d497a1bc110620487524edf
3
+ metadata.gz: 0c7011ae2ae2374cb07222d231ee1e34d53e04e0c96f71b11744edc879397129
4
+ data.tar.gz: e389d29b6d81fe7b5fb26bada7b5b522d1dc5e8eb5df44e391b887562cf35aed
5
5
  SHA512:
6
- metadata.gz: 18f09fb016ffbfec08b34b1e249c618500c72099c247f77673ac974ec2f666c7a9da9fdab605a344f42c1f60760cfd2790d5740db1fdd9e2afe2fea2bf587d97
7
- data.tar.gz: 52de47120c17aa8c4fa10d9586c6039d04538517cc6da7be069c5082adc5755f162843183494061ec6947a698f684462b33521849d0fe4464a1aea726ea5a910
6
+ metadata.gz: 75140d037ab4c456127dec963ea23d45025f8d563b5be1abbbf7c1da569476cf23f84019c930cbc3e7bc3663a9a4fe99bde8c6f4fab9b195bf00e54af63b3fb0
7
+ data.tar.gz: e62e12d0c327fa440825277f4f71fe69e2bd7ef63847dd0fe0746f7906e31cb2359b324a2b072ae716a2c7a263aab2b191ca23fc7f8dd54bbe76c199f61acf14
@@ -31,8 +31,9 @@
31
31
  # `fast_send.error' => ->(exception) { } # the response is not sent completely due to an error in the application
32
32
  # `fast_send.cleanup' => ->(sent_total) { } # Called at the end of the response, in an ensure block
33
33
  class FastSend
34
- # All exceptions that get raised when the client closes a connection before receiving the entire response
35
- CLIENT_DISCONNECTS = [Errno::EPIPE, Errno::ECONNRESET, Errno::ENOTCONN, Errno::EPROTOTYPE]
34
+ # All exceptions that get raised when the client closes a connection before receiving the entire response.
35
+ # IOError can be raised when an IO times out in IO.select()
36
+ CLIENT_DISCONNECTS = [Errno::EPIPE, Errno::ECONNRESET, Errno::ENOTCONN, Errno::EPROTOTYPE, IOError]
36
37
 
37
38
  if RUBY_PLATFORM =~ /java/
38
39
  require 'java'
@@ -1,3 +1,3 @@
1
1
  class FastSend
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast_send
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julik Tarkhanov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-29 00:00:00.000000000 Z
11
+ date: 2020-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake