mirror of https://github.com/yandex/odyssey.git
odissey: do not close client tls connection if disable
This commit is contained in:
parent
1603e84ae3
commit
a663bd8897
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue