mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-06 05:31:44 +00:00
call ERR_clear_error after each https session close
This commit is contained in:
@@ -1125,6 +1125,8 @@ void hr_session_ssl_close(struct corerouter_session *cs) {
|
||||
X509_free(hs->ssl_client_cert);
|
||||
}
|
||||
|
||||
// clear the errors (otherwise they could be propagated)
|
||||
ERR_clear_error();
|
||||
SSL_free(hs->ssl);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user