]> granicus.if.org Git - openssl/commit
Optimise ASYNC_CTX handling
authorMatt Caswell <matt@openssl.org>
Tue, 6 Oct 2015 09:25:21 +0000 (10:25 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 20 Nov 2015 23:34:35 +0000 (23:34 +0000)
commit9f078e1961d4fc798c356fa185df083f2abdb054
treecf3fead2994b74d7f869466366d2eaf4f05538a6
parent7240557b7d6a06cd7e4cd50e52fb1e62d0a750e0
Optimise ASYNC_CTX handling

Don't recreate a new ASYNC_CTX every time we call ASYNC_start_job() - the
same one can be used for the life of the thread. Instead we only free it
up when we call ASYNC_free_pool().

Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/async/async.c