Add ASYNC_JOB pools
authorMatt Caswell <matt@openssl.org>
Wed, 22 Jul 2015 16:50:51 +0000 (17:50 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 20 Nov 2015 23:33:46 +0000 (23:33 +0000)
commit252d6d3aa62dccf0dc826644b7da0b6bafa3831b
tree529055a0ca2eb9f6564f18e4a87d25d1d458c371
parent7070e5ca2fa41940d56599bf016a45cb1c0e03f0
Add ASYNC_JOB pools

It is expensive to create the ASYNC_JOB objects due to the "makecontext"
call. This change adds support for pools of ASYNC_JOB objects so that we
don't have to create a new ASYNC_JOB every time we want to use one.

Reviewed-by: Rich Salz <rsalz@openssl.org>
apps/Makefile
apps/s_server.c
crypto/async/async.c
include/openssl/async.h
include/openssl/safestack.h
util/libeay.num