uninterruptible 2.4.0 → 2.4.1

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
  SHA1:
3
- metadata.gz: 6c0bee80d95f929271d75f691c59788a9716e8e3
4
- data.tar.gz: 877066cf757d14caab769f7585713170f7db08e2
3
+ metadata.gz: 8d15b649edbc7f8a8813c07a7f64c7981fe2d17a
4
+ data.tar.gz: bc001b551986276f80f42e4005aa6337f4900d96
5
5
  SHA512:
6
- metadata.gz: 2f2f1edad24e0bad293acb8f70a3171388c98d73f266f025c570ed58fda332d47cf0f95c00cfd1f8b293b142b4d8882b496201daa5da30beada562363b8999df
7
- data.tar.gz: 775f0729644939e948a87adb085105651a00500793d6db9b19b5965faf008f5bea4dbab21fb279bd030604f134c177530c65db64ea37530c4bf3f9f23ecfa543
6
+ metadata.gz: 1186dee9b6712bdc2ba842f63d1219f8f753cf7ae58a7cccd011388f0d259cd7cc88a761748979292ba0c191aa649726163051381315d270118e334134e11405
7
+ data.tar.gz: 4c0ab3085c21379a2969e0618e4dd8146a061c3302d1542c0adad4767ff5f4ca3cccbd4a787d568d788fa8ef546ee09f4a6f8fe3c87316e6b4595b70d5f5a7ae
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.4.1
4
+ * Handle an error raised (`Errno::EINVAL`) when a client would connect and immediately disconnect before any processing occurs.
5
+
3
6
  ## 2.4.0
4
7
  * When restarting a server, the socket is passed to the new server via a UNIX socket instead of inheriting open file descriptors from the parent.
5
8
 
@@ -107,6 +107,8 @@ module Uninterruptible
107
107
  else
108
108
  logger.debug "Rejecting connection from #{client_address}"
109
109
  end
110
+ rescue Errno::EINVAL
111
+ logger.warn "Connection was closed before request could be processed"
110
112
  ensure
111
113
  client_socket.close
112
114
  mutex.synchronize { @active_connections -= 1 }
@@ -1,3 +1,3 @@
1
1
  module Uninterruptible
2
- VERSION = "2.4.0".freeze
2
+ VERSION = "2.4.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uninterruptible
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Wentworth
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-14 00:00:00.000000000 Z
11
+ date: 2019-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler