Prepare Artery for alternative TCP transport, #24390

* Refactoring to separate the Aeron specific things, ArteryAeronUdpTransport
* move Aeron specific classes to akka.remote.artery.aeron package
* move Version to ArterySettings, and describe strategy for envelope header changes
This commit is contained in:
Patrik Nordwall 2017-10-21 13:35:05 +01:00
parent c83e4adfea
commit 0d222906f4
42 changed files with 860 additions and 597 deletions

View file

@ -66,7 +66,8 @@ object Configuration {
rng.nextInt() // Has to work
val sRng = settings.SSLRandomNumberGenerator
rng.getAlgorithm == sRng || (throw new NoSuchAlgorithmException(sRng))
if (rng.getAlgorithm != sRng && sRng != "")
throw new NoSuchAlgorithmException(sRng)
val engine = NettySSLSupport(settings, NoMarkerLogging, isClient = true).getEngine
val gotAllSupported = enabled.toSet diff engine.getSupportedCipherSuites.toSet