mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-29 16:25:54 +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) {
|
||||
// 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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user