Merge branch '2.2' into develop
This commit is contained in:
@ -492,8 +492,19 @@ static int ini_handler(void *userdata, const char *section, const char *name, co
|
||||
|
||||
if (is_empty_string(value))
|
||||
{
|
||||
MXS_ERROR("Empty value given to parameter '%s'", name);
|
||||
return 0;
|
||||
if (is_persisted_config)
|
||||
{
|
||||
/**
|
||||
* Found old-style persisted configuration. These will be automatically
|
||||
* upgraded on the next modification so we can safely ignore it.
|
||||
*/
|
||||
return 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
MXS_ERROR("Empty value given to parameter '%s'", name);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
if (config_get_global_options()->substitute_variables)
|
||||
|
@ -319,6 +319,9 @@ listener_init_SSL(SSL_LISTENER *ssl_listener)
|
||||
/** Disable SSLv3 */
|
||||
SSL_CTX_set_options(ssl_listener->ctx, SSL_OP_NO_SSLv3);
|
||||
|
||||
// Disable session cache
|
||||
SSL_CTX_set_session_cache_mode(ssl_listener->ctx, SSL_SESS_CACHE_OFF);
|
||||
|
||||
/** Generate the 512-bit and 1024-bit RSA keys */
|
||||
if (rsa_512 == NULL && (rsa_512 = create_rsa(512)) == NULL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user