Removing extra SSL_shutdown() call.

This commit is contained in:
Sergey Lyubka 2013-07-15 18:20:16 +01:00
parent feb3b5db96
commit faa030385c

View File

@ -4864,7 +4864,6 @@ static void close_connection(struct mg_connection *conn) {
if (conn->ssl != NULL) {
// Run SSL_shutdown twice to ensure completly close SSL connection
SSL_shutdown(conn->ssl);
SSL_shutdown(conn->ssl);
SSL_free(conn->ssl);
conn->ssl = NULL;
}