From 9d4300d514d55b176b0d09d1d7115ceeb79cc27a Mon Sep 17 00:00:00 2001 From: Unbit Date: Wed, 6 Mar 2013 10:35:32 +0100 Subject: [PATCH] call ERR_clear_error after each https session close --- plugins/http/https.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/http/https.c b/plugins/http/https.c index fce6a3b3..df90c805 100644 --- a/plugins/http/https.c +++ b/plugins/http/https.c @@ -226,6 +226,8 @@ void hr_session_ssl_close(struct corerouter_session *cs) { } #endif + // clear the errors (otherwise they could be propagated) + ERR_clear_error(); SSL_free(hr->ssl); }