We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e5ed75 commit 48e07f8Copy full SHA for 48e07f8
src/Servers/Kestrel/Core/src/Middleware/TlsListenerMiddleware.cs
@@ -52,10 +52,8 @@ internal async Task OnTlsClientHelloAsync(ConnectionContext connection)
52
_tlsClientHelloBytesCallback(connection, clientHelloBytes);
53
}
54
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
57
Debug.Assert(parseState is ClientHelloParseState.ValidTlsClientHello or ClientHelloParseState.NotTlsClientHello);
58
- break;
+ break; // We can continue with the middleware pipeline
59
60
61
await _next(connection);
0 commit comments