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));
|
machine_error(client->io));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
od_log_client(logger, &client->id, "tls", "disabled, closing");
|
od_debug_client(logger, &client->id, "tls", "is disabled, ignoring");
|
||||||
od_frontend_error(client, SHAPITO_FEATURE_NOT_SUPPORTED,
|
return 0;
|
||||||
"SSL is not supported");
|
|
||||||
return -1;
|
|
||||||
}
|
}
|
||||||
/* supported 'S' */
|
/* supported 'S' */
|
||||||
shapito_stream_write8(stream, 'S');
|
shapito_stream_write8(stream, 'S');
|
||||||
|
|
Loading…
Reference in New Issue