OpenSearch/libs
Tim Brooks 0a352486e8
Isolate nio channel registered from channel active (#44388)
Registering a channel with a selector is a required operation for the
channel to be handled properly. Currently, we mix the registeration with
other setup operations (ip filtering, SSL initiation, etc). However, a
fail to register is fatal. This PR modifies how registeration occurs to
immediately close the channel if it fails.

There are still two clear loopholes for how a user can interact with a
channel even if registration fails. 1. through the exception handler.
2. through the channel accepted callback. These can perhaps be improved
in the future. For now, this PR prevents writes from proceeding if the
channel is not registered.
2019-07-16 17:18:57 -06:00
..
cli [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
core [7.x] Add TimeValue.toHumanReadableString() to allow specifyin… (#43545) 2019-06-25 14:06:23 -06:00
dissect Eclipse libs projects setup fix (#42852) 2019-06-04 13:52:41 -07:00
geo Geo: add validator that only checks altitude (#43893) 2019-07-10 16:55:03 -04:00
grok Upgrade jcodings dependency to 1.0.44 (#43334) 2019-06-26 10:03:40 +02:00
nio Isolate nio channel registered from channel active (#44388) 2019-07-16 17:18:57 -06:00
plugin-classloader [Backport] Replace usages RandomizedTestingTask with built-in Gradle Test (#40978) (#40993) 2019-04-09 11:52:50 -07:00
secure-sm Eclipse libs projects setup fix (#42852) 2019-06-04 13:52:41 -07:00
ssl-config Fix for PemTrustConfigTests.testTrustConfigReloadsFileContents failure (#43539) (#43613) 2019-06-26 13:32:01 +10:00
x-content Add Map to XContentParser Wrapper (#44036) 2019-07-11 09:38:31 -04:00
build.gradle [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00