kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 95819d2dc2710be9f77ebaa87233de9e2cb35885
parent 5e2fb37c53725d1ea48e4d723d993e6c4c05e31b
Author: Joris Vink <joris@coders.se>
Date:   Thu, 10 Apr 2014 22:52:23 +0200

Take away SSL_MODE_RELEASE_BUFFERS for now.

Prevents the weird freelist munging that happens when we're
actually freeing memory (which we should be forcing it to do
by setting freelist_max_len to 0).

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

diff --git a/src/domain.c b/src/domain.c @@ -115,7 +115,6 @@ kore_domain_sslstart(struct kore_domain *dom) (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); SSL_CTX_set_options(dom->ssl_ctx, SSL_OP_NO_SSLv2);