logstash-core 6.3.1-java → 6.3.2-java
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 +4 -4
- data/lib/logstash/agent.rb +1 -1
- data/lib/logstash/patches.rb +1 -0
- data/lib/logstash/patches/resolv.rb +40 -0
- data/versions-gem-copy.yml +2 -2
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 999e61360e29d34d6dbf15eebfa5a852f0114cc034c876e65f0ee434aadbefd7
|
4
|
+
data.tar.gz: 0366ea08d19ed8f15316c6b48ab8262ac8f5f810be24308017b445624578ed5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83bb9dc76db210ebf2a1d6f1094b2f0aaf2aa4e1fdeca7b97c9682b585138b67f45b1138357b096da241cf9145b787db83d615e62fdca072c80675c1769d4e92
|
7
|
+
data.tar.gz: c1d165d04b42ba541b42110f4e640cfa3f818a74c585a564df0c45bef69a43a2d6b137f04fb1fd57313994220ac80ec9d7ca862611d77dae6248da476b2ed2c4
|
data/lib/logstash/agent.rb
CHANGED
@@ -340,7 +340,7 @@ class LogStash::Agent
|
|
340
340
|
when LogStash::PipelineAction::Reload
|
341
341
|
dispatcher.fire(:pipeline_stopped, get_pipeline(action.pipeline_id))
|
342
342
|
when LogStash::PipelineAction::Stop
|
343
|
-
dispatcher.fire(:
|
343
|
+
dispatcher.fire(:pipeline_stopped, get_pipeline(action.pipeline_id))
|
344
344
|
end
|
345
345
|
end
|
346
346
|
end
|
data/lib/logstash/patches.rb
CHANGED
@@ -0,0 +1,40 @@
|
|
1
|
+
require "resolv"
|
2
|
+
|
3
|
+
# ref: https://github.com/logstash-plugins/logstash-filter-dns/issues/40
|
4
|
+
#
|
5
|
+
# JRuby 9k versions prior to 9.1.16.0 have a bug which crashes IP address
|
6
|
+
# resolution after 64k unique IP addresses resolutions.
|
7
|
+
#
|
8
|
+
# Note that the oldest JRuby version in LS 6 is 9.1.13.0 and
|
9
|
+
# JRuby 1.7.25 and 1.7.27 (the 2 versions used across LS 5) are not affected by this bug.
|
10
|
+
|
11
|
+
# make sure we abort if a known correct JRuby version is installed
|
12
|
+
# to avoid having an unnecessary legacy patch being applied in the future.
|
13
|
+
raise("Unnecessary patch on resolv.rb for JRuby version 9.1.16+") if Gem::Version.new(JRUBY_VERSION) >= Gem::Version.new("9.1.16.0")
|
14
|
+
|
15
|
+
# The code below is copied from JRuby 9.1.16.0 resolv.rb:
|
16
|
+
# https://github.com/jruby/jruby/blob/9.1.16.0/lib/ruby/stdlib/resolv.rb#L775-L784
|
17
|
+
#
|
18
|
+
# JRuby is Copyright (c) 2007-2017 The JRuby project, and is released
|
19
|
+
# under a tri EPL/GPL/LGPL license.
|
20
|
+
# Full license available at https://github.com/jruby/jruby/blob/9.1.16.0/COPYING
|
21
|
+
|
22
|
+
class Resolv
|
23
|
+
class DNS
|
24
|
+
class Requester
|
25
|
+
class UnconnectedUDP
|
26
|
+
def sender(msg, data, host, port=Port)
|
27
|
+
sock = @socks_hash[host.index(':') ? "::" : "0.0.0.0"]
|
28
|
+
return nil if !sock
|
29
|
+
service = [IPAddr.new(host), port]
|
30
|
+
id = DNS.allocate_request_id(service[0], service[1])
|
31
|
+
request = msg.encode
|
32
|
+
request[0,2] = [id].pack('n')
|
33
|
+
return @senders[[service, id]] =
|
34
|
+
Sender.new(request, data, sock, host, port)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
data/versions-gem-copy.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.3.
|
4
|
+
version: 6.3.2
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -420,6 +420,7 @@ files:
|
|
420
420
|
- lib/logstash/patches/exception_to_json.rb
|
421
421
|
- lib/logstash/patches/profile_require_calls.rb
|
422
422
|
- lib/logstash/patches/puma.rb
|
423
|
+
- lib/logstash/patches/resolv.rb
|
423
424
|
- lib/logstash/patches/stronger_openssl_defaults.rb
|
424
425
|
- lib/logstash/pipeline.rb
|
425
426
|
- lib/logstash/pipeline_action.rb
|