فهرست منبع

Removing extra SSL_shutdown() call.

Sergey Lyubka 12 سال پیش
والد
کامیت
faa030385c
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  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;
   }