Commit faa03038 authored by Sergey Lyubka's avatar Sergey Lyubka

Removing extra SSL_shutdown() call.

parent feb3b5db
...@@ -4864,7 +4864,6 @@ static void close_connection(struct mg_connection *conn) { ...@@ -4864,7 +4864,6 @@ static void close_connection(struct mg_connection *conn) {
if (conn->ssl != NULL) { if (conn->ssl != NULL) {
// Run SSL_shutdown twice to ensure completly close SSL connection // Run SSL_shutdown twice to ensure completly close SSL connection
SSL_shutdown(conn->ssl); SSL_shutdown(conn->ssl);
SSL_shutdown(conn->ssl);
SSL_free(conn->ssl); SSL_free(conn->ssl);
conn->ssl = NULL; conn->ssl = NULL;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment