소스 검색

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