diff --git a/src/HttpServer.cc b/src/HttpServer.cc index 5665f7f5..194be976 100644 --- a/src/HttpServer.cc +++ b/src/HttpServer.cc @@ -1246,7 +1246,8 @@ int HttpServer::run() SSL_OP_ALL | SSL_OP_NO_SSLv2 | SSL_OP_NO_COMPRESSION | SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION | SSL_OP_SINGLE_ECDH_USE | - SSL_OP_NO_TICKET); + SSL_OP_NO_TICKET | + SSL_OP_CIPHER_SERVER_PREFERENCE); SSL_CTX_set_mode(ssl_ctx, SSL_MODE_AUTO_RETRY); SSL_CTX_set_mode(ssl_ctx, SSL_MODE_RELEASE_BUFFERS); SSL_CTX_set_mode(ssl_ctx, SSL_MODE_ENABLE_PARTIAL_WRITE);