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); }