Implement local thread pools

Implement the ASYNC_JOB as a local thread pool. Remove the API support
for global pools.

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Matt Caswell
2015-09-16 17:01:58 +01:00
parent f4da39d200
commit 0ff2b9ac0b
6 changed files with 76 additions and 24 deletions

View File

@@ -1661,7 +1661,7 @@ int s_server_main(int argc, char *argv[])
if (async) {
SSL_CTX_set_mode(ctx, SSL_MODE_ASYNC);
ASYNC_init_pool(0, 0, 0);
ASYNC_init_pool(0, 0);
}
#ifndef OPENSSL_NO_SRTP