Browse Source

Removing extra SSL_shutdown() call.

Sergey Lyubka 12 năm trước cách đây
mục cha
commit
faa030385c
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      mongoose.c

+ 0 - 1
mongoose.c

@@ -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;
   }