mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-01 11:07:46 +08:00
Removing extra SSL_shutdown() call.
This commit is contained in:
parent
feb3b5db96
commit
faa030385c
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user