From 6020f06661a71c51bea89a731c458ab089a9d588 Mon Sep 17 00:00:00 2001 From: Robinson Date: Sat, 1 Jul 2023 11:43:20 +0200 Subject: [PATCH] code cleanup --- src/dorkbox/network/handshake/Handshaker.kt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/dorkbox/network/handshake/Handshaker.kt b/src/dorkbox/network/handshake/Handshaker.kt index 8af33c95..ee0f1ef2 100644 --- a/src/dorkbox/network/handshake/Handshaker.kt +++ b/src/dorkbox/network/handshake/Handshaker.kt @@ -94,9 +94,6 @@ internal class Handshaker( } if (System.nanoTime() - startTime < timeoutInNanos) { - // NOTE: Handlers are called on the client conductor thread. The client conductor thread expects handlers to do safe - // publication of any state to other threads and not be long running or re-entrant with the client. - // we should retry. handshakeSendIdleStrategy.idle() continue @@ -105,9 +102,7 @@ internal class Handshaker( // this exception will be a ClientException or a ServerException val exception = newException( "[$aeronLogInfo] Error sending message. (Connection in non-connected state longer than linger timeout. ${ - EndPoint.errorCodeName( - result - ) + EndPoint.errorCodeName(result) })", null )