Skip to content

Commit 1482fdd

Browse files
authored
Fixed SSL handshake hang indefinitely with proxy setup (#1032)
update manticore to 0.7.1
1 parent 4760977 commit 1482fdd

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 11.0.3
2+
- Fixed SSL handshake hang indefinitely with proxy setup [#1032](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1032)
3+
14
## 11.0.2
25
- Validate that required functionality in Elasticsearch is available upon initial connection [#1015](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1015)
36

logstash-output-elasticsearch.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new do |s|
22
s.name = 'logstash-output-elasticsearch'
3-
s.version = '11.0.2'
3+
s.version = '11.0.3'
44

55
s.licenses = ['apache-2.0']
66
s.summary = "Stores logs in Elasticsearch"
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
2121
# Special flag to let us know this is actually a logstash plugin
2222
s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }
2323

24-
s.add_runtime_dependency "manticore", '>= 0.5.4', '< 1.0.0'
24+
s.add_runtime_dependency "manticore", '>= 0.7.1', '< 1.0.0'
2525
s.add_runtime_dependency 'stud', ['>= 0.0.17', '~> 0.0']
2626
s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
2727
s.add_runtime_dependency 'logstash-mixin-ecs_compatibility_support', '~>1.0'

spec/es_spec_helper.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ def get_host_port
2020
end
2121

2222
def get_client
23-
Elasticsearch::Client.new(:hosts => [get_host_port])
23+
Elasticsearch::Client.new(:hosts => [get_host_port]).tap do |client|
24+
allow(client).to receive(:verify_elasticsearch).and_return(true) # bypass client side version checking
25+
end
2426
end
2527

2628
def doc_type

0 commit comments

Comments
 (0)