uninterruptible 2.1.0 → 2.1.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: 45b1e17d9779c26d177d31c7dcdf49b4128eb0f4
4
- data.tar.gz: 4a59b5fef72bd683bdfdcfa10d2c27a744271418
3
+ metadata.gz: 905016acd4ef03c5f1d79dbccf3ecadc05f1ddaa
4
+ data.tar.gz: e159d89a13a89205b3d8857fed0dbe4ad7c88a84
5
5
  SHA512:
6
- metadata.gz: c3920549cf5cc3b176e385769190561920c9e21abe87ee9ec4deca2b73f99382e68b12e89071282b5258d985c1dbbed1712da90cfe4639fd2df06733167a205d
7
- data.tar.gz: 615f4a872242d4d7fbade36d0457d7f5fb2433abf22061b8c1917a3a1e36f80288882d93ac6960d9aaab67a524d48fa8e02383a770158e30a2993e8c16cec88b
6
+ metadata.gz: 41ea4dfb2f3dc629002f93487651c5c27fad342325ace3b944c8fdff6889b4d3999ae13cfb6ebc2cdbf67a40e2cc774045be935f7ddf4512971e063a8a247537
7
+ data.tar.gz: b617f8f6948fa5dc0f2fa01767ec9b4c1f660cb7958853fded530c8d244ac486394d64b8bf23be524bf3d0c563244ede00b9c22743528d6503549b201efe6b33
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ # 2.1.1
4
+ * Prevent bad SSL handshakes from crashing server
5
+
3
6
  # 2.1.0
4
7
  * Add TLS support for TCP connections
5
8
 
data/README.md CHANGED
@@ -126,6 +126,12 @@ end
126
126
 
127
127
  If you would like to encrypt your TCP socket, Uninterruptible supports TLSv1.1 and TLSv1.2. Simply set `configuration.tls_key` and `configuration.tls_certificate` (see "Configuration" above) and your TCP socket will automatically be wrapped with TLS.
128
128
 
129
+ To generate a key, run a command similar to the following:
130
+
131
+ ```sh
132
+ openssl req -newkey rsa:4096 -nodes -sha512 -x509 -days 3650 -nodes -out tls_cert.pem -keyout tls_key.pem
133
+ ```
134
+
129
135
  ## Contributing
130
136
 
131
137
  Bug reports and pull requests are welcome on GitHub at https://github.com/darkphnx/uninterruptible.
@@ -20,9 +20,8 @@ module OpenSSL
20
20
  ssl.sync_close = true
21
21
  ssl.accept if @start_immediately
22
22
  ssl
23
- rescue SSLError => ex
23
+ rescue SSLError
24
24
  sock.close
25
- raise ex
26
25
  end
27
26
  end
28
27
  end
@@ -1,3 +1,3 @@
1
1
  module Uninterruptible
2
- VERSION = "2.1.0"
2
+ VERSION = "2.1.1"
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.1.0
4
+ version: 2.1.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: 2017-08-09 00:00:00.000000000 Z
11
+ date: 2017-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler