logstash-core 6.3.1-java → 6.3.2-java

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
  SHA256:
3
- metadata.gz: 85bf9d81a766d2472fbac4f9ebe4b7a88cae89e18590d7ce521ce40fe9774c15
4
- data.tar.gz: 4deb3840e2c037c2e34467b64760c4cbea3d48ad43eb67f7cd6b321dedbab4b6
3
+ metadata.gz: 999e61360e29d34d6dbf15eebfa5a852f0114cc034c876e65f0ee434aadbefd7
4
+ data.tar.gz: 0366ea08d19ed8f15316c6b48ab8262ac8f5f810be24308017b445624578ed5c
5
5
  SHA512:
6
- metadata.gz: 7c898a6f5e3563f40cc9e5c362e63eefe454bb730938c5049b6b57b38e0e94fa5f96bdc919f9cdd18fb31b41b403033d38dfa686b7d41dc6e2757df5744b8249
7
- data.tar.gz: 39995c13a874c7dc4e044ae4ed7aa3fc9c66bbc4c2f35de50fedf10b0f96fcf3593e5db5523da8595e42544dad2e40d6d6daa223160a73b7dc22b87ff3dd1dbc
6
+ metadata.gz: 83bb9dc76db210ebf2a1d6f1094b2f0aaf2aa4e1fdeca7b97c9682b585138b67f45b1138357b096da241cf9145b787db83d615e62fdca072c80675c1769d4e92
7
+ data.tar.gz: c1d165d04b42ba541b42110f4e640cfa3f818a74c585a564df0c45bef69a43a2d6b137f04fb1fd57313994220ac80ec9d7ca862611d77dae6248da476b2ed2c4
@@ -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(:pipeline_started, get_pipeline(action.pipeline_id))
343
+ dispatcher.fire(:pipeline_stopped, get_pipeline(action.pipeline_id))
344
344
  end
345
345
  end
346
346
  end
@@ -4,3 +4,4 @@ require "logstash/patches/cabin"
4
4
  require "logstash/patches/profile_require_calls"
5
5
  require "logstash/patches/stronger_openssl_defaults"
6
6
  require "logstash/patches/exception_to_json"
7
+ require "logstash/patches/resolv"
@@ -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
+
@@ -1,6 +1,6 @@
1
1
  ---
2
- logstash: 6.3.1
3
- logstash-core: 6.3.1
2
+ logstash: 6.3.2
3
+ logstash-core: 6.3.2
4
4
  logstash-core-plugin-api: 2.1.16
5
5
 
6
6
  # jruby must reference a *released* version of jruby which can be downloaded from the official download url
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.1
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-06-29 00:00:00.000000000 Z
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