Mercurial > hg > nginx-quic
comparison conf/uwsgi_params @ 5003:82234f3f5ca2
SSL: speedup loading of configs with many ssl servers.
The patch saves one EC_KEY_generate_key() call per server{} block by
informing OpenSSL about SSL_OP_SINGLE_ECDH_USE we are going to use before
the SSL_CTX_set_tmp_ecdh() call.
For a configuration file with 10k simple server{} blocks with SSL enabled
this change reduces startup time from 18s to 5s on a slow test box here.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 09 Jan 2013 14:11:48 +0000 |
parents | 352a7b025f2e |
children | 62869a9b2e7d |
comparison
equal
deleted
inserted
replaced
5002:39c597272c8d | 5003:82234f3f5ca2 |
---|