kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 630d8ece05ff3c9c91e7325774b52f0f55b80962
parent 41aed45e4fc95610b85fd19f973c924d8d4d3af5
Author: Joris Vink <joris@coders.se>
Date:   Wed,  9 Apr 2014 14:14:09 +0200

Fuck it, force OpenSSL to not use its freelists no matter what.

Diffstat:
src/domain.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/domain.c b/src/domain.c @@ -114,6 +114,7 @@ kore_domain_sslstart(struct kore_domain *dom) SSL_CTX_set_session_id_context(dom->ssl_ctx, (unsigned char *)SSL_SESSION_ID, strlen(SSL_SESSION_ID)); + dom->ssl_ctx->freelist_max_len = 0; SSL_CTX_set_mode(dom->ssl_ctx, SSL_MODE_RELEASE_BUFFERS); SSL_CTX_set_mode(dom->ssl_ctx, SSL_MODE_ENABLE_PARTIAL_WRITE);