fluent-plugin-devo 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -2
- data/lib/syslog_tls/ssl_transport.rb +5 -2
- data/lib/syslog_tls/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da8dbff3fdc4b84780853c8b88927b9e579867effdb77b4b3e2e76681d4eb426
|
4
|
+
data.tar.gz: d036ffb956f6959eff373efc72faff01ea7efa3a9c5856886d25f474c36d49b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de439f2a9d9d31d928560d997cfaa244866882dc3142349bcfcc4950d3458608a0af145ffb456f297f638a6fa6c328e6e784fc173be8f3fc4dc61c3079422222
|
7
|
+
data.tar.gz: b640b60205a184dceb63513a55cd8df36803e056816aff3e2e16c097ed2f9f851cff771c5bec20258cad7d300b27ce9b228cf8e7e20188ac20d659c284382e57
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
-
#### 1.
|
1
|
+
#### 1.2.0
|
2
2
|
|
3
|
-
Fix
|
3
|
+
· Fix windows socket compatibility
|
4
4
|
|
5
|
+
#### 1.1.0
|
5
6
|
|
7
|
+
· Fix the plugin to use a duplicate object when forcing encoding of string since some strings may be locked and not able to be modified.
|
6
8
|
|
7
9
|
#### 1.0.0
|
8
10
|
|
@@ -16,6 +16,7 @@
|
|
16
16
|
|
17
17
|
require 'socket'
|
18
18
|
require 'openssl'
|
19
|
+
require 'rbconfig'
|
19
20
|
|
20
21
|
module SyslogTls
|
21
22
|
# Supports SSL connection to remote host
|
@@ -70,8 +71,10 @@ module SyslogTls
|
|
70
71
|
begin
|
71
72
|
sock_addr = Socket.sockaddr_in(port, address)
|
72
73
|
tcp = Socket.new(family, sock_type, 0)
|
73
|
-
tcp.setsockopt(Socket::SOL_SOCKET, Socket::Constants::SO_REUSEADDR,
|
74
|
-
|
74
|
+
tcp.setsockopt(Socket::SOL_SOCKET, Socket::Constants::SO_REUSEADDR, false)
|
75
|
+
if !RbConfig::CONFIG['host_os'].match?(/mswin|mingw|cygwin/)
|
76
|
+
tcp.setsockopt(Socket::SOL_SOCKET, Socket::Constants::SO_REUSEPORT, false)
|
77
|
+
end
|
75
78
|
tcp.connect_nonblock(sock_addr)
|
76
79
|
rescue Errno::EINPROGRESS
|
77
80
|
select_with_timeout(tcp, :connect_write)
|
data/lib/syslog_tls/version.rb
CHANGED