diff --git a/sources/tls.c b/sources/tls.c index add33bd5..9004df91 100644 --- a/sources/tls.c +++ b/sources/tls.c @@ -113,6 +113,11 @@ od_tls_frontend_accept(od_client_t *client, od_debug(logger, "tls", client, NULL, "ok"); return 0; } + + /* Client sends cancel request without encryption */ + if (client->startup.is_cancel) + return 0; + switch (config->tls_mode) { case OD_CONFIG_TLS_DISABLE: case OD_CONFIG_TLS_ALLOW: