Skip to content

Commit

Permalink
[http_endpoint] fix incorrect TLSConfig initialization (#32105) (#32112)
Browse files Browse the repository at this point in the history
* [http_endpoint] fix incorrect TLSConfig initialization
* update Changelog

(cherry picked from commit 1a75aea)

Co-authored-by: Sai Kiran <85323324+r00tu53r@users.noreply.github.com>
  • Loading branch information
mergify[bot] and r00tu53r authored Jun 27, 2022
1 parent 1eded09 commit 8739126
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ https://github.com/elastic/beats/compare/v8.2.0\...main[Check the HEAD diff]
- If a file is ignored by `filestream` because of ignore_older settings, when it is updated, only the new lines are shipped to the output. {issue}31924[31924] {pull}31972[31972]
- Fix deduplication in Google workspace module by changing fingerprint processor target field from `@metadata.id` to `@metadata._id`. {pull}31898[31898]
- Fix handling and mapping of syslog priority, facility and severity values in Cisco module. {pull}32025[32025]
- Fix http_endpoint input TLS handshake failures. {pull}32105[32105]

*Heartbeat*
- Fix unintentional use of no-op logger. {pull}31543[31543]
Expand Down
2 changes: 1 addition & 1 deletion x-pack/filebeat/input/http_endpoint/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func newHTTPEndpoint(config config) (*httpEndpoint, error) {
return nil, err
}
if tlsConfigBuilder != nil {
tlsConfig = tlsConfigBuilder.BuildModuleClientConfig(addr)
tlsConfig = tlsConfigBuilder.BuildServerConfig(addr)
}

return &httpEndpoint{
Expand Down

0 comments on commit 8739126

Please sign in to comment.