OpenSearch/modules/transport-netty4
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
..
licenses Upgrade netty to 4.1.49.Final (#56059) 2020-05-05 10:40:23 -06:00
src Set specific keepalive options by default on supported platforms (#59278) 2020-07-28 11:10:04 +02:00
build.gradle Convert modules to use yamlRestTest (#59089) (#59446) 2020-07-13 13:53:05 -05:00