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 +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/uninterruptible/server.rb +2 -0
- data/lib/uninterruptible/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d15b649edbc7f8a8813c07a7f64c7981fe2d17a
|
4
|
+
data.tar.gz: bc001b551986276f80f42e4005aa6337f4900d96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 }
|
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.
|
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-
|
11
|
+
date: 2019-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|