浏览代码

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