From a663bd88970adac61098925a56347e0c43174601 Mon Sep 17 00:00:00 2001 From: Dmitry Simonenko Date: Mon, 4 Sep 2017 15:22:26 +0300 Subject: [PATCH] odissey: do not close client tls connection if disable --- sources/tls.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sources/tls.c b/sources/tls.c index 03d8bcda..0152a90f 100644 --- a/sources/tls.c +++ b/sources/tls.c @@ -107,10 +107,8 @@ od_tls_frontend_accept(od_client_t *client, machine_error(client->io)); return -1; } - od_log_client(logger, &client->id, "tls", "disabled, closing"); - od_frontend_error(client, SHAPITO_FEATURE_NOT_SUPPORTED, - "SSL is not supported"); - return -1; + od_debug_client(logger, &client->id, "tls", "is disabled, ignoring"); + return 0; } /* supported 'S' */ shapito_stream_write8(stream, 'S');