OpenSearch/libs
Yannick Welsch ffe114b890 Set specific keepalive options by default on supported platforms (#59278)
keepalives tell any intermediate devices that the connection remains alive, which helps with overzealous firewalls that are
killing idle connections. keepalives are enabled by default in Elasticsearch, but use system defaults for their
configuration, which often times do not have reasonable defaults (e.g. 7200s for TCP_KEEP_IDLE) in the context of
distributed systems such as Elasticsearch.

This PR sets the socket-level keep_alive options for network.tcp.{keep_idle,keep_interval} to 5 minutes on configurations
that support it (>= Java 11 & (MacOS || Linux)) and where the system defaults are set to something higher than 5
minutes. This helps keep the connections alive while not interfering with system defaults or user-specified settings
unless they are deemed to be set too high by providing better out-of-the-box defaults.
2020-07-28 11:10:04 +02:00
..
cli Replace compile configuration usage with api (7.x backport) (#58721) 2020-06-30 15:57:41 +02:00
core Set specific keepalive options by default on supported platforms (#59278) 2020-07-28 11:10:04 +02:00
dissect Remove deprecated usage of testCompile configuration (#57921) (#58083) 2020-06-14 22:30:44 +02:00
geo Remove deprecated usage of testCompile configuration (#57921) (#58083) 2020-06-14 22:30:44 +02:00
grok Replace compile configuration usage with api (7.x backport) (#58721) 2020-06-30 15:57:41 +02:00
nio Set specific keepalive options by default on supported platforms (#59278) 2020-07-28 11:10:04 +02:00
plugin-classloader Use task avoidance with forbidden apis (#55034) 2020-04-15 13:27:53 -07:00
secure-sm Remove deprecated usage of testCompile configuration (#57921) (#58083) 2020-06-14 22:30:44 +02:00
ssl-config Replace compile configuration usage with api (7.x backport) (#58721) 2020-06-30 15:57:41 +02:00
x-content Improve role cache efficiency for API key roles (#58156) (#59397) 2020-07-13 22:58:11 +10:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00