Skip to content

Commit 48e07f8

Browse files
committed
nit nit
1 parent 8e5ed75 commit 48e07f8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Servers/Kestrel/Core/src/Middleware/TlsListenerMiddleware.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,8 @@ internal async Task OnTlsClientHelloAsync(ConnectionContext connection)
5252
_tlsClientHelloBytesCallback(connection, clientHelloBytes);
5353
}
5454

55-
// Here either it's a valid TLS client hello or definitely not a TLS client hello.
56-
// Anyway we can continue with the middleware pipeline
5755
Debug.Assert(parseState is ClientHelloParseState.ValidTlsClientHello or ClientHelloParseState.NotTlsClientHello);
58-
break;
56+
break; // We can continue with the middleware pipeline
5957
}
6058

6159
await _next(connection);

0 commit comments

Comments
 (0)