Skip to content

Commit

Permalink
Fixed SSL handshake hang indefinitely with proxy setup (elastic#1032)
Browse files Browse the repository at this point in the history
update manticore to 0.7.1
  • Loading branch information
kaisecheng committed Aug 20, 2021
1 parent 4760977 commit 1482fdd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,6 @@
## 11.0.3
- Fixed SSL handshake hang indefinitely with proxy setup [#1032](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1032)

## 11.0.2
- Validate that required functionality in Elasticsearch is available upon initial connection [#1015](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1015)

Expand Down
4 changes: 2 additions & 2 deletions logstash-output-elasticsearch.gemspec
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'logstash-output-elasticsearch'
s.version = '11.0.2'
s.version = '11.0.3'

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

s.add_runtime_dependency "manticore", '>= 0.5.4', '< 1.0.0'
s.add_runtime_dependency "manticore", '>= 0.7.1', '< 1.0.0'
s.add_runtime_dependency 'stud', ['>= 0.0.17', '~> 0.0']
s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
s.add_runtime_dependency 'logstash-mixin-ecs_compatibility_support', '~>1.0'
Expand Down
4 changes: 3 additions & 1 deletion spec/es_spec_helper.rb
Expand Up @@ -20,7 +20,9 @@ def get_host_port
end

def get_client
Elasticsearch::Client.new(:hosts => [get_host_port])
Elasticsearch::Client.new(:hosts => [get_host_port]).tap do |client|
allow(client).to receive(:verify_elasticsearch).and_return(true) # bypass client side version checking
end
end

def doc_type
Expand Down

0 comments on commit 1482fdd

Please sign in to comment.